File: setappname.sh

package info (click to toggle)
owncloud-client 2.11.0.8354%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 17,312 kB
  • sloc: cpp: 57,302; python: 2,694; ansic: 334; sh: 141; makefile: 62; xml: 7
file content (8 lines) | stat: -rwxr-xr-x 272 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
#!/bin/sh

# this script replaces the line
#  appname = 'ownCloud'
# 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/ownCloud/$1/g" syncstate.py