summaryrefslogtreecommitdiff
path: root/debian/shopno-os-refresh-menu.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/shopno-os-refresh-menu.postinst')
-rw-r--r--debian/shopno-os-refresh-menu.postinst13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/shopno-os-refresh-menu.postinst b/debian/shopno-os-refresh-menu.postinst
new file mode 100644
index 0000000..58f4b10
--- /dev/null
+++ b/debian/shopno-os-refresh-menu.postinst
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+sed -i '/<actions>/a\
+\
+ <action>\
+ <icon>view-refresh</icon>\
+ <patterns>*</patterns>\
+ <range/>\
+ <name>Refresh</name>\
+ <command>refresh-desktop</command>\
+ <description>Refresh current content</description>\
+ <directories/>\
+ </action>' /etc/xdg/Thunar/uca.xml