Only make desktop files executable

This commit is contained in:
Bob Mottram 2016-08-23 13:18:18 +01:00
parent 837c30fd17
commit 12886533eb
No known key found for this signature in database
GPG Key ID: 0452CC7CEA982E38
1 changed files with 2 additions and 2 deletions

View File

@ -485,7 +485,7 @@ function create_tox_user {
echo 'Icon=qtox' >> /home/$MY_USERNAME/Desktop/tox.desktop
echo 'StartupNotify=true' >> /home/$MY_USERNAME/Desktop/tox.desktop
chmod +x /home/$MY_USERNAME/Desktop/*
chmod +x /home/$MY_USERNAME/Desktop/*.desktop
chown ${MY_USERNAME}:${MY_USERNAME} /home/$MY_USERNAME/Desktop/*
}
@ -522,7 +522,7 @@ function show_desktop_icons {
echo 'Categories=Application;' >> /home/$MY_USERNAME/Desktop/new_identity.desktop
# set permissions
chmod +x /home/$MY_USERNAME/Desktop/*
chmod +x /home/$MY_USERNAME/Desktop/*.desktop
chown ${MY_USERNAME}:${MY_USERNAME} /home/$MY_USERNAME/Desktop/*
chown ${MY_USERNAME}:${MY_USERNAME} /home/$MY_USERNAME/.config
chown -R ${MY_USERNAME}:${MY_USERNAME} /home/$MY_USERNAME/.config/tox