Merge pull request #898 from nextcloud/nautilus-integration-name

Fix appname for Nautilus integration script.
This commit is contained in:
Camila Ayres 2018-11-28 12:21:27 +01:00 committed by GitHub
commit b97d8ba6db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -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

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
# 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))