Find the others

This commit is contained in:
Bob Mottram 2016-08-24 20:22:34 +01:00
parent 8df2ee60ad
commit 9f6d10682e
No known key found for this signature in database
GPG Key ID: 0452CC7CEA982E38
1 changed files with 2 additions and 2 deletions

View File

@ -731,9 +731,9 @@ if [ \$no_of_users -gt 0 ]; then
chown $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/Users.txt
echo '[Desktop Entry]' > /home/$MY_USERNAME/Desktop/Users.desktop
if [ \$no_of_users -lt 2 ]; then
echo "Name=\$no_of_users User" >> /home/$MY_USERNAME/Desktop/Users.desktop
echo "Name=\$no_of_users Other User" >> /home/$MY_USERNAME/Desktop/Users.desktop
else
echo "Name=\$no_of_users Users" >> /home/$MY_USERNAME/Desktop/Users.desktop
echo "Name=\$no_of_users Other Users" >> /home/$MY_USERNAME/Desktop/Users.desktop
fi
echo 'Type=Application' >> /home/$MY_USERNAME/Desktop/Users.desktop
echo 'Comment=List of users' >> /home/$MY_USERNAME/Desktop/Users.desktop