add install script

This commit is contained in:
ray 2020-02-17 15:40:21 +00:00
parent dcaf306edd
commit 49f47cb990
1 changed files with 11 additions and 0 deletions

11
install.sh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/sh
_user_id=$(id -u)
if ! [ "$_user_id" -eq 0 ] ; then
echo "pacman-update-count.sh: insufficient priviliges: must be run as root"
exit 1
fi
cp ./notify-updates /usr/local/bin/
cp ./pacman-update-count /usr/local/bin/