summaryrefslogtreecommitdiff
path: root/pcr/armory/armory.install
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-01-03 15:36:56 +0100
committerAndreas Grapentin <andreas@grapentin.org>2018-01-03 15:36:56 +0100
commit86d498d37716f0e009e4d8f9308a8aac799bdeab (patch)
tree9f633926ae069ae442d1f3da1e8ac4de4938c78a /pcr/armory/armory.install
parent5b25e57cec17385bb7927e5b0b2d4edd50cb2db9 (diff)
downloadabslibre-86d498d37716f0e009e4d8f9308a8aac799bdeab.tar.gz
abslibre-86d498d37716f0e009e4d8f9308a8aac799bdeab.tar.bz2
abslibre-86d498d37716f0e009e4d8f9308a8aac799bdeab.zip
pcr/armory: updated to 0.96.3.99
Diffstat (limited to 'pcr/armory/armory.install')
-rw-r--r--pcr/armory/armory.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/pcr/armory/armory.install b/pcr/armory/armory.install
new file mode 100644
index 000000000..7bbaf885f
--- /dev/null
+++ b/pcr/armory/armory.install
@@ -0,0 +1,13 @@
+ARMORY_IMG_DIR="/usr/share/armory/img"
+
+post_install() {
+ xdg-icon-resource install --novendor --context apps --size 64 "${ARMORY_IMG_DIR}/armory_icon_64x64.png" armoryicon
+ xdg-icon-resource install --novendor --context apps --size 64 "${ARMORY_IMG_DIR}/armory_icon_64x64.png" armoryofflineicon
+ xdg-icon-resource install --novendor --context apps --size 64 "${ARMORY_IMG_DIR}/armory_icon_green_64x64.png" armorytestneticon
+}
+
+pre_remove() {
+ xdg-icon-resource uninstall --size 64 armoryicon
+ xdg-icon-resource uninstall --size 64 armorytestneticon
+ xdg-icon-resource uninstall --size 64 armoryofflineicon
+}