diff options
author | Thorvald Natvig <slicer@users.sourceforge.net> | 2011-05-05 04:56:21 +0400 |
---|---|---|
committer | Thorvald Natvig <slicer@users.sourceforge.net> | 2011-05-05 04:56:21 +0400 |
commit | 1550415a166ef74618649662a98e629edfaca186 (patch) | |
tree | 798437b27ba4181a1e0c688b5068e42a33b8163c /scripts/mkini.sh | |
parent | 74a4051cb44ad23e2bf3704ab0320a6f47454e83 (diff) |
Use installation default paths and stop being difficult
Diffstat (limited to 'scripts/mkini.sh')
-rwxr-xr-x | scripts/mkini.sh | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/scripts/mkini.sh b/scripts/mkini.sh index 016b6e5c6..c507f0d0a 100755 --- a/scripts/mkini.sh +++ b/scripts/mkini.sh @@ -4,16 +4,16 @@ cp murmur.ini murmur.ini.win32 cp murmur.ini murmur.ini.osx cp murmur.ini murmur.ini.system -perl -pi -e 's/^(#|)ice=/ice=/' murmur.ini.win32 +perl -pi.bak -e 's!^(#|)ice=!ice=!' murmur.ini.win32 -perl -pi -e 's/^(#|)ice=/ice=/' murmur.ini.osx -perl -pi -e 's/^(#|)dbus=/#dbus=/' murmur.ini.osx +perl -pi.bak -e 's!^(#|)ice=!ice=!' murmur.ini.osx +perl -pi.bak -e 's!^(#|)dbus=!#dbus!' murmur.ini.osx -perl -pi -e 's/^(#|)ice=/ice=/' murmur.ini.system -perl -pi -e 's/^(#|)dbus=.*$/dbus=system/' murmur.ini.system -perl -pi -e 's/^(#|)logfile=.*$/logfile=\/var\/log\/mumble-server\/mumble-server.log/' murmur.ini.system -perl -pi -e 's/^(#|)pidfile=.*$/pidfile=\/var\/run\/mumble-server\/mumble-server.pid/' murmur.ini.system -perl -pi -e 's/^(#|)database=.*$/database=\/var\/lib\/mumble-server\/mumble-server.sqlite/' murmur.ini.system -perl -pi -e 's/^(#|)uname=.*$/uname=mumble-server/' murmur.ini.system +perl -pi.bak -e 's!^(#|)ice=!ice=!' murmur.ini.system +perl -pi.bak -e 's/^(#|)dbus=.*$/dbus=system/' murmur.ini.system +perl -pi.bak -e 's/^(#|)logfile=.*$/logfile=\/var\/log\/mumble-server\/mumble-server.log/' murmur.ini.system +perl -pi.bak -e 's/^(#|)pidfile=.*$/pidfile=\/var\/run\/mumble-server\/mumble-server.pid/' murmur.ini.system +perl -pi.bak -e 's/^(#|)database=.*$/database=\/var\/lib\/mumble-server\/mumble-server.sqlite/' murmur.ini.system +perl -pi.bak -e 's/^(#|)uname=.*$/uname=mumble-server/' murmur.ini.system -perl -pi -e 'BEGIN{undef $/;} s/\n/\r\n/smg' murmur.ini.win32 +perl -pi.bak -e 'BEGIN{undef $/;} s/\n/\r\n/smg' murmur.ini.win32 |