desktop/shell_integration/nautilus/setappname.sh

9 lines
275 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 occurrences in the class name so several
# branding can be loaded (see #6524)
sed -i.org -e "s/Nextcloud/$1/g" syncstate.py