Project

General

Profile

Bug #122 » uninstall.sh

David Griffith, 05/07/2012 08:37 PM

 
#!/bin/sh
# Generic user-friendly uninstall script for Python programs.
# Please share and enjoy.

myfile="files.txt"
if [ -f $myfile ]; then
echo "Uninstalling..."
for i in `cat $myfile`
do
rm -rf '$i';
done
echo "Done!"
else
echo "$myfile not present. Try installing again, then uninstalling."
fi
(4-4/4)