|
|
@ -19,7 +19,7 @@ done
|
|
|
|
|
|
|
|
|
|
|
|
# Default settings
|
|
|
|
# Default settings
|
|
|
|
device=${device:="480"}
|
|
|
|
device=${device:="480"}
|
|
|
|
repo=${repo:="https://toerd@g.phga.de/toerd/dotfiles"}
|
|
|
|
repo=${repo:="https://phga@g.phga.de/phga/dotfiles"}
|
|
|
|
prog=${prog:="$scriptdir/pack.csv"}
|
|
|
|
prog=${prog:="$scriptdir/pack.csv"}
|
|
|
|
aurhelper=${aurhelper:="yay"}
|
|
|
|
aurhelper=${aurhelper:="yay"}
|
|
|
|
logfile=${logfile:="/dev/null"}
|
|
|
|
logfile=${logfile:="/dev/null"}
|
|
|
@ -157,8 +157,8 @@ enable_service() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
set_permissions() {
|
|
|
|
set_permissions() {
|
|
|
|
sed -i '/.*#toerd/d' /etc/sudoers
|
|
|
|
sed -i '/.*#phga/d' /etc/sudoers
|
|
|
|
echo -e "$@ #toerd" >> /etc/sudoers
|
|
|
|
echo -e "$@ #phga" >> /etc/sudoers
|
|
|
|
echo "Permissions set\n\n" >> $logfile
|
|
|
|
echo "Permissions set\n\n" >> $logfile
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|