1
0
mirror of https://github.com/chylex/Nextcloud-Desktop.git synced 2024-11-14 16:42:47 +01:00
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

9 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