diff options
author | Martin Lefebvre <dadexter@gmail.com> | 2010-05-11 14:05:52 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-11 14:05:52 +0200 |
commit | c0c524017f4b784a90a87526aa7e604810c3c213 (patch) | |
tree | af72641b45922faeda06d7da687074406951768a /development/mono/doinst.sh | |
parent | b89ae35eed6772c60980871e0a9ef1195c369403 (diff) | |
download | slackbuilds-c0c524017f4b784a90a87526aa7e604810c3c213.tar.gz |
development/mono: Initial import
Diffstat (limited to 'development/mono/doinst.sh')
-rw-r--r-- | development/mono/doinst.sh | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/development/mono/doinst.sh b/development/mono/doinst.sh new file mode 100644 index 0000000000..46717d884a --- /dev/null +++ b/development/mono/doinst.sh @@ -0,0 +1,21 @@ + +config() { + NEW="$1" + OLD="`dirname $NEW`/`basename $NEW .new`" + # If there's no config file by that name, mv it over: + if [ ! -r $OLD ]; then + mv $NEW $OLD + elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then + # toss the redundant copy + rm $NEW + fi + # Otherwise, we leave the .new copy for the admin to consider... +} + +config etc/mono/1.0/machine.config.new +config etc/mono/1.0/DefaultWsdlHelpGenerator.aspx.new +config etc/mono/2.0/machine.config.new +config etc/mono/2.0/web.config.new +config etc/mono/2.0/DefaultWsdlHelpGenerator.aspx.new +config etc/mono/config.new +config etc/mono/browscap.ini.new |