diff options
Diffstat (limited to 'install.sh')
-rw-r--r-- | install.sh | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |