Fix appname for Nautilus integration script

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
Jan-Christoph Borchardt 2018-11-27 19:55:12 +01:00
parent f0c6825746
commit 7d8bba6786
No known key found for this signature in database
GPG key ID: CBD846FC845CBE17
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
# this script replaces the line # this script replaces the line
# appname = 'ownCloud' # appname = 'Nextcloud'
# with the correct branding name in the syncstate.py script # 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

View 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 # 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 # by replacing this line with the branding app name. If the following
# line is changed, the script can not match the pattern and fails. # line is changed, the script can not match the pattern and fails.
appname = 'ownCloud' appname = 'Nextcloud'
print("Initializing "+appname+"-client-nautilus extension") print("Initializing "+appname+"-client-nautilus extension")
print("Using python version {}".format(sys.version_info)) print("Using python version {}".format(sys.version_info))