Check whether peertube was installed

This commit is contained in:
Bob Mottram 2017-12-04 17:09:38 +00:00
parent 0dbb10f2db
commit efc42f5447
1 changed files with 27 additions and 25 deletions

View File

@ -961,6 +961,7 @@ if [ \$no_of_users -gt 0 ]; then
fi
fi
if [ -d /etc/peertube ]; then
if [ ! -f /home/$MY_USERNAME/.peertube.desktop ]; then
if [ ! -f /home/$MY_USERNAME/Desktop/peertube.desktop ]; then
echo '[Desktop Entry]' > /home/$MY_USERNAME/Desktop/peertube.desktop
@ -989,6 +990,7 @@ if [ \$no_of_users -gt 0 ]; then
fi
fi
fi
fi
if [ ! -f /home/$MY_USERNAME/Desktop/social.desktop ]; then
echo '[Desktop Entry]' > /home/$MY_USERNAME/Desktop/social.desktop