nextcloud-desktop/shell_integration/nautilus/setappname.sh
Olivier Goffart 919debccfc
nautilus shell integration: Fix when there are several branded client installed
It appears that several extension can be loaded at the same time, but their
classname for the extension need to be different, otherwise only the last
loaded one would be active.

Issue #6524
2020-12-15 10:57:55 +01:00

8 lines
274 B
Bash
Executable file

#!/bin/sh
# this script replaces the line
# appname = 'Nextcloud'
# with the correct branding name in the syncstate.py script
# It also replaces the occurences in the class name so several
# branding can be loaded (see #6524)
sed -i.org -e "s/Nextcloud/$1/g" syncstate.py