diff options
author | Eric Hameleers <alien@slackware.com> | 2011-04-17 13:45:09 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2011-04-17 13:45:09 +0000 |
commit | 36488edc12498265141bb9a68be5b24b953303b7 (patch) | |
tree | 16b10834b29d3fc79e9060e10ba047040323e179 /wireshark/build/wireshark.SlackBuild | |
parent | 148d241c1254a1051d544d4d17662135f1a73dbf (diff) | |
download | asb-36488edc12498265141bb9a68be5b24b953303b7.tar.gz asb-36488edc12498265141bb9a68be5b24b953303b7.tar.xz |
No .new files to take care of
Diffstat (limited to 'wireshark/build/wireshark.SlackBuild')
-rwxr-xr-x | wireshark/build/wireshark.SlackBuild | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/wireshark/build/wireshark.SlackBuild b/wireshark/build/wireshark.SlackBuild index 93ea78c0..36f5b152 100755 --- a/wireshark/build/wireshark.SlackBuild +++ b/wireshark/build/wireshark.SlackBuild @@ -198,25 +198,6 @@ done # Add this to the doinst.sh: mkdir -p $PKG/install cat <<EOINS >> $PKG/install/doinst.sh -# Handle the incoming configuration files: -config() { - for infile in \$1; do - NEW="\$infile" - 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... - done -} - -# An example of how you handle your '.new' config files: -#config etc/wireshark.conf.new - # Update the desktop database: if [ -x usr/bin/update-desktop-database ]; then chroot . /usr/bin/update-desktop-database usr/share/applications > /dev/null 2>&1 |