update-notifier/install.sh

12 lines
232 B
Bash
Raw Normal View History

2020-02-17 15:40:21 +00:00
#!/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/