mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-01 01:00:03 +01:00
cc7abeadd6
Put libs in correct dir, docs in correct dir, config for new files, don't package 0 byte AUTHORS or useless INSTALL, don't include .la files. Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
11 lines
224 B
Bash
11 lines
224 B
Bash
config() {
|
|
NEW="$1"
|
|
OLD="$(dirname $NEW)/$(basename $NEW .new)"
|
|
if [ ! -r $OLD ]; then
|
|
mv $NEW $OLD
|
|
elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
|
|
rm $NEW
|
|
fi
|
|
}
|
|
|
|
config etc/libtrash.conf.new
|