diff options
author | brobr <sborg63@disroot.org> | 2022-04-18 01:12:11 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-04-24 01:47:17 +0700 |
commit | b6484732c39b72d23abcc42520d73190ba872cbf (patch) | |
tree | 4145ab62528b87baf1bc59b30f846af729b3ce20 | |
parent | eee4b79675f9e83441fc2f5d6e602c13812e4483 (diff) |
office/pdfarranger: moved from python; adapted doinst.sh for icons
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | office/pdfarranger/README (renamed from python/pdfarranger/README) | 0 | ||||
-rw-r--r-- | office/pdfarranger/doinst.sh | 9 | ||||
-rw-r--r-- | office/pdfarranger/pdfarranger.SlackBuild (renamed from python/pdfarranger/pdfarranger.SlackBuild) | 0 | ||||
-rw-r--r-- | office/pdfarranger/pdfarranger.info (renamed from python/pdfarranger/pdfarranger.info) | 0 | ||||
-rw-r--r-- | office/pdfarranger/slack-desc (renamed from python/pdfarranger/slack-desc) | 0 | ||||
-rw-r--r-- | python/pdfarranger/doinst.sh | 3 |
6 files changed, 9 insertions, 3 deletions
diff --git a/python/pdfarranger/README b/office/pdfarranger/README index 8fc6332e3a574..8fc6332e3a574 100644 --- a/python/pdfarranger/README +++ b/office/pdfarranger/README diff --git a/office/pdfarranger/doinst.sh b/office/pdfarranger/doinst.sh new file mode 100644 index 0000000000000..65c7e2eeb9aa5 --- /dev/null +++ b/office/pdfarranger/doinst.sh @@ -0,0 +1,9 @@ +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 diff --git a/python/pdfarranger/pdfarranger.SlackBuild b/office/pdfarranger/pdfarranger.SlackBuild index ff1138a58f84f..ff1138a58f84f 100644 --- a/python/pdfarranger/pdfarranger.SlackBuild +++ b/office/pdfarranger/pdfarranger.SlackBuild diff --git a/python/pdfarranger/pdfarranger.info b/office/pdfarranger/pdfarranger.info index 11f03e37a7892..11f03e37a7892 100644 --- a/python/pdfarranger/pdfarranger.info +++ b/office/pdfarranger/pdfarranger.info diff --git a/python/pdfarranger/slack-desc b/office/pdfarranger/slack-desc index c984ea725d1b9..c984ea725d1b9 100644 --- a/python/pdfarranger/slack-desc +++ b/office/pdfarranger/slack-desc diff --git a/python/pdfarranger/doinst.sh b/python/pdfarranger/doinst.sh deleted file mode 100644 index 5fb28930db0b9..0000000000000 --- a/python/pdfarranger/doinst.sh +++ /dev/null @@ -1,3 +0,0 @@ -if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 -fi |