Compare commits

...

2 Commits

Author SHA1 Message Date
ray 49f47cb990 add install script 2020-02-17 15:40:21 +00:00
ray dcaf306edd rename pacman-update-count.sh 2020-02-17 15:36:23 +00:00
2 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/