Revert "fix install configs and use SUDO_GID"

This reverts commit e93b4b0e10.
master
Andre Puschmann 5 years ago
parent 0f166ce739
commit d7d3233bde

@ -45,8 +45,7 @@ install_file(){
# Set file ownership to user calling sudo # Set file ownership to user calling sudo
if [ $SUDO_USER ]; then if [ $SUDO_USER ]; then
user=$SUDO_USER user=$SUDO_USER
group=$SUDO_GID chown $user:$user $dest_path
chown $user:$group $dest_path
fi fi
else else
echo " - $source_path doesn't exists. Skipping it." echo " - $source_path doesn't exists. Skipping it."

Loading…
Cancel
Save