melawy-pamac-helper/install.sh

15 lines
235 B
Bash
Executable File

#!/bin/bash
if [ "$UID" != "0" ]; then
sudo $0
exit
else
echo "sudo $0"
fi
cp pamac /usr/local/bin/
chmod 755 /usr/local/bin/pamac
cp pamac.desktop /usr/share/applications
chmod 644 /usr/share/applications/pamac.desktop