diff options
author | Erik Hanson <erik@slackbuilds.org> | 2010-07-03 15:15:42 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-07-03 15:15:42 -0500 |
commit | 67ca98017adf3dda8a07180b9b2b7f34b074720c (patch) | |
tree | a1a0357be19256056cf4a4c490daf2bd49d134c3 /audio/ocp/doinst.sh | |
parent | 45dcf510f6f475ba91ccf2521ed2ca38108855f3 (diff) |
audio/ocp: Updated for version 0.1.20.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'audio/ocp/doinst.sh')
-rw-r--r-- | audio/ocp/doinst.sh | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/audio/ocp/doinst.sh b/audio/ocp/doinst.sh index 5c0a7e0f89f9..1f8ff67dedb2 100644 --- a/audio/ocp/doinst.sh +++ b/audio/ocp/doinst.sh @@ -1,18 +1,3 @@ -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/ocp.ini.new - if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi |