melawy-pamac-helper/install.sh

15 lines
235 B
Bash
Raw Permalink Normal View History

2023-11-28 15:31:04 +05:00
#!/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