mirror of
https://github.com/vikstrous/pirate-get
synced 2025-01-10 10:04:21 +01:00
Remove install/uninstall scripts
This commit is contained in:
parent
e7fb682309
commit
6db3fa158b
23
install
23
install
@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
TMP=$(mktemp pirate-get-XXXXXX)
|
||||
|
||||
{
|
||||
if [ $(which python3) ]
|
||||
then
|
||||
python='python3'
|
||||
else
|
||||
python='python'
|
||||
fi
|
||||
|
||||
echo "#!/usr/bin/env $python" > "$TMP" &&
|
||||
|
||||
sed 1d $(dirname $0)/pirate-get.py >> "$TMP"
|
||||
|
||||
cp "$TMP" /usr/bin/pirate-get &&
|
||||
chmod +x /usr/bin/pirate-get &&
|
||||
chmod 755 /usr/bin/pirate-get &&
|
||||
|
||||
rm $TMP
|
||||
} || rm $TMP
|
Loading…
Reference in New Issue
Block a user