diff options
author | B. Watson <yalhcru@gmail.com> | 2022-03-04 13:55:38 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-03-07 08:45:21 +0700 |
commit | 6d11638bf94c4d97d6ff2c77205f106116a5d3cd (patch) | |
tree | 6f7b0f233ed15dec6c7ffc5054f2c9519733908f /games/qtsixa/doinst.sh | |
parent | e51882e3a12c5ad012ca8a33f71c6e5002fd75a9 (diff) |
games/qtsixa: Removed (FTBFS, unmaintained, replace someday with "sixad").
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/qtsixa/doinst.sh')
-rw-r--r-- | games/qtsixa/doinst.sh | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/games/qtsixa/doinst.sh b/games/qtsixa/doinst.sh deleted file mode 100644 index b7b72f46857cc..0000000000000 --- a/games/qtsixa/doinst.sh +++ /dev/null @@ -1,37 +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.sixad.new -config etc/logrotate.d/sixad.new -config etc/default/sixad.new - -if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 -fi - -if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then - if [ -x /usr/bin/gtk-update-icon-cache ]; then - /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 - fi -fi |