Bug #122 » uninstall.sh
1 |
#!/bin/sh
|
---|---|
2 |
# Generic user-friendly uninstall script for Python programs.
|
3 |
# Please share and enjoy.
|
4 |
|
5 |
myfile="files.txt" |
6 |
if [ -f $myfile ]; then |
7 |
echo "Uninstalling..." |
8 |
for i in `cat $myfile` |
9 |
do
|
10 |
rm -rf '$i'; |
11 |
done
|
12 |
echo "Done!" |
13 |
else
|
14 |
echo "$myfile not present. Try installing again, then uninstalling." |
15 |
fi
|
- « Previous
- 1
- 2
- 3
- 4
- Next »