1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kodi_ynh.git synced 2024-09-03 19:26:34 +02:00

Fix restore

This commit is contained in:
yalh76 2021-08-29 13:19:20 +02:00
parent 4238e4cd4b
commit d7342de27c

View file

@ -138,7 +138,7 @@ ynh_replace_string "allowed_users=console" "allowed_users=anybody" /etc/X11/Xwra
ynh_script_progression --message="Restoring user rights..." ynh_script_progression --message="Restoring user rights..."
# Restore permissions on app files # Restore permissions on app files
chown -R root: $final_path chown -R $app:$app $final_path
usermod -a -G cdrom,audio,video,plugdev,users,dialout,dip,input,netdev "$app" usermod -a -G cdrom,audio,video,plugdev,users,dialout,dip,input,netdev "$app"
#================================================= #=================================================