summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rw-r--r--install.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/install.sh b/install.sh
index b21082c..bb6fb3d 100644
--- a/install.sh
+++ b/install.sh
@@ -2,14 +2,15 @@
#
# Uselect Temporary Installer
#
+#
if [ "$(id -u)" != "0" ]; then
echo "uselect's $0 must be run as root!"
exit 1
fi
-rm -rf /usr/bin/uselect
-rm -rf /usr/share/uselect
+rm -f /usr/bin/uselect
+rm -f /usr/share/uselect
mkdir /usr/share/uselect
cp -R * /usr/share/uselect/
ln -s /usr/share/uselect/uselect.py /usr/bin/uselect