NC Desktop: Fix Comments
This commit is contained in:
@@ -36,7 +36,8 @@ else
|
||||
SETUP_NEEDED="1"
|
||||
fi
|
||||
|
||||
#Remove Nextcloud from autostart - if it was started befor the ecrypted mount, i will never sync and always throw an error that the local dir is missing
|
||||
#Remove Nextcloud from autostart anyway! Must be started by this script manually, because if it was started befor the ecrypted mount,
|
||||
# it will never sync and always throw an error that the local dir is missing
|
||||
if [ -f "$SUDO_HOME/.config/autostart/com.nextcloud.desktopclient.nextcloud.desktop" ]; then
|
||||
echo "Remove Autostart Nextcloud"
|
||||
rm $SUDO_HOME/.config/autostart/com.nextcloud.desktopclient.nextcloud.desktop
|
||||
@@ -48,7 +49,7 @@ fi
|
||||
if [ $SETUP_NEEDED = "0" ]; then
|
||||
echo "Nextcloud was already setup, skipping configure and starting Service"
|
||||
echo "If you want to reset, please delete the Folder [HOME]/.var/app/com.nextcloud.desktopclient.nextcloud manually."
|
||||
echo "Command: rm -ri ~/.var/app/com.nextcloud.desktopclient.nextcloud/"
|
||||
echo "Command: rm -rif ~/.var/app/com.nextcloud.desktopclient.nextcloud/"
|
||||
su -c "nohup ${BASECMD} 1>/dev/null 2>/dev/null &" $SUDO_USER
|
||||
exit $?
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user