Only make desktop files executable
This commit is contained in:
parent
837c30fd17
commit
12886533eb
|
@ -485,7 +485,7 @@ function create_tox_user {
|
||||||
echo 'Icon=qtox' >> /home/$MY_USERNAME/Desktop/tox.desktop
|
echo 'Icon=qtox' >> /home/$MY_USERNAME/Desktop/tox.desktop
|
||||||
echo 'StartupNotify=true' >> /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/*
|
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
|
echo 'Categories=Application;' >> /home/$MY_USERNAME/Desktop/new_identity.desktop
|
||||||
|
|
||||||
# set permissions
|
# 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/Desktop/*
|
||||||
chown ${MY_USERNAME}:${MY_USERNAME} /home/$MY_USERNAME/.config
|
chown ${MY_USERNAME}:${MY_USERNAME} /home/$MY_USERNAME/.config
|
||||||
chown -R ${MY_USERNAME}:${MY_USERNAME} /home/$MY_USERNAME/.config/tox
|
chown -R ${MY_USERNAME}:${MY_USERNAME} /home/$MY_USERNAME/.config/tox
|
||||||
|
|
Loading…
Reference in New Issue