mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
9 lines
146 B
Bash
9 lines
146 B
Bash
config() {
|
|
NEW="$1"
|
|
OLD="$(dirname $NEW)/$(basename $NEW .new)"
|
|
[ ! -r $OLD ] && mv $NEW $OLD
|
|
rm -f $NEW
|
|
}
|
|
|
|
config etc/r2e/config.py.new
|
|
|