mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 13:05:51 +03:00
Fix appname for Nautilus integration script
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
parent
f0c6825746
commit
7d8bba6786
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -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))
|
||||||
|
|
Loading…
Reference in a new issue