Fix appname for Nautilus integration script
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Tue, 27 Nov 2018 18:55:12 +0000 (19:55 +0100)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Wed, 28 Nov 2018 10:54:08 +0000 (11:54 +0100)
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
shell_integration/nautilus/setappname.sh
shell_integration/nautilus/syncstate.py

index 1ca085941c6b4d7157eb10c33d3eee86c6a8dfa5..d59c3110e761d2ab0493ff74b336c9610173c048 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
 # this script replaces the line
-#  appname = 'ownCloud'
+#  appname = 'Nextcloud'
 # with the correct branding name in the syncstate.py script
-sed -i.org -e 's/appname\s*=\s*'"'"'ownCloud'"'/appname = '$1'/" syncstate.py
+sed -i.org -e 's/appname\s*=\s*'"'"'Nextcloud'"'/appname = '$1'/" syncstate.py
index 179efc8e6457d437e60755aea9653283b20ac1a5..2d1494ca1dfd6a03d63b2cb9f019e0051fbb53a2 100644 (file)
@@ -32,7 +32,7 @@ from gi.repository import GObject, Nautilus
 # The reason is that we use a script to adopt this file for branding
 # by replacing this line with the branding app name. If the following
 # line is changed, the script can not match the pattern and fails.
-appname = 'ownCloud'
+appname = 'Nextcloud'
 
 print("Initializing "+appname+"-client-nautilus extension")
 print("Using python version {}".format(sys.version_info))