From 21d1032128c25dee6282282897ea3fcd864a2022 Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Sat, 4 Feb 2023 00:54:42 -0500 Subject: d/xebian-artwork.(postinst,postrm): Drop newt-palette setting, useless in Debian. --- debian/control | 2 +- debian/xebian-artwork.postinst | 23 ----------------------- debian/xebian-artwork.postrm | 28 ---------------------------- 3 files changed, 1 insertion(+), 52 deletions(-) delete mode 100755 debian/xebian-artwork.postinst delete mode 100755 debian/xebian-artwork.postrm diff --git a/debian/control b/debian/control index e8d1343..cd2f816 100644 --- a/debian/control +++ b/debian/control @@ -7,7 +7,7 @@ Standards-Version: 3.9.8 Package: xebian-artwork Architecture: all -Depends: ${misc:Depends}, libnewt0.52 (>= 0.52.11-2) +Depends: ${misc:Depends} Recommends: xebian-wallpapers Description: Xebian themes and artwork This package contains Xebian themes and artwork. diff --git a/debian/xebian-artwork.postinst b/debian/xebian-artwork.postinst deleted file mode 100755 index cd780f5..0000000 --- a/debian/xebian-artwork.postinst +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh - -set -e - -case "$1" in - configure) - # Xebian prefers legacy newt colors over Aubergine by default - if update-alternatives --query newt-palette | grep -qs "Status: auto"; then - update-alternatives --set newt-palette /etc/newt/palette.original - fi - ;; - - abort-upgrade|abort-deconfigure|abort-remove) - ;; - - *) - echo "$0 called with unknown argument \`$1'" 1>&2 - exit 1 - ;; -esac - -#DEBHELPER# -exit 0 diff --git a/debian/xebian-artwork.postrm b/debian/xebian-artwork.postrm deleted file mode 100755 index 51d6717..0000000 --- a/debian/xebian-artwork.postrm +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh - -set -e - -case "$1" in - remove) - if update-alternatives --query newt-palette | grep -qs "Value: /etc/newt/palette.original"; then - update-alternatives --auto newt-palette - fi - ;; - - purge) - ;; - - upgrade|failed-upgrade|disappear) - ;; - - abort-install|abort-upgrade) - ;; - - *) - echo "$0 called with unknown argument \`$1'" 1>&2 - exit 1 - ;; -esac - -#DEBHELPER# -exit 0 -- cgit v1.2.3