diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2023-01-29 11:42:29 +0900 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-02-04 07:20:00 +0700 |
commit | 56604dfd00063e6dd2204044c3e7ea6a01f0e934 (patch) | |
tree | de2f8a20a4fc84a040fbb3e6e8f71a5ccd5578c4 /network/axel/doinst.sh | |
parent | 36ab9e0d118b0b6c9576e2d1427fca52a2b0a50c (diff) |
network/axel: Fix doinst.sh.
```
mv: cannot stat 'etc/axelrc.new': No such file or directory
```
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/axel/doinst.sh')
-rw-r--r-- | network/axel/doinst.sh | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/network/axel/doinst.sh b/network/axel/doinst.sh deleted file mode 100644 index fa6f314c120b..000000000000 --- a/network/axel/doinst.sh +++ /dev/null @@ -1,14 +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... -} - -config etc/axelrc.new |