diff options
author | Matteo Bernardini | 2022-02-04 08:41:41 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo | 2022-02-04 11:53:44 +0100 |
commit | 1b6c3dcb4ab37d5e520e1b7ca16aecea888b42b2 (patch) | |
tree | 2bc37836a3172e7f73f3770913799189bdb6eb52 /network/t38modem/doinst.sh | |
parent | eca3efeef7aead4c6b3515d9167129744def6f08 (diff) | |
download | slackbuilds-1b6c3dcb4ab37d5e520e1b7ca16aecea888b42b2.tar.gz |
network/t38modem: Removed (missing dependency).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/t38modem/doinst.sh')
-rw-r--r-- | network/t38modem/doinst.sh | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/network/t38modem/doinst.sh b/network/t38modem/doinst.sh deleted file mode 100644 index 29b7e602de..0000000000 --- a/network/t38modem/doinst.sh +++ /dev/null @@ -1,26 +0,0 @@ -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... -} - -preserve_perms() { - NEW="$1" - OLD="$(dirname $NEW)/$(basename $NEW .new)" - if [ -e $OLD ]; then - cp -a $OLD ${NEW}.incoming - cat $NEW > ${NEW}.incoming - mv ${NEW}.incoming $NEW - fi - config $NEW -} - -preserve_perms etc/rc.d/rc.t38modem.new -config etc/rc.d/rc.t38modem.conf.new - |