Skip to content

Commit

Permalink
Fix appname for Nautilus integration script
Browse files Browse the repository at this point in the history
Signed-off-by: Jan-Christoph Borchardt <[email protected]>
  • Loading branch information
jancborchardt committed Nov 28, 2018
1 parent f0c6825 commit 7d8bba6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions shell_integration/nautilus/setappname.sh
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion shell_integration/nautilus/syncstate.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
# 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))
Expand Down

0 comments on commit 7d8bba6

Please sign in to comment.