12 lines
232 B
Bash
12 lines
232 B
Bash
|
#!/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/
|