aboutsummaryrefslogtreecommitdiff
path: root/Keywords
diff options
context:
space:
mode:
Diffstat (limited to 'Keywords')
-rw-r--r--Keywords/info.ucl10
1 files changed, 8 insertions, 2 deletions
diff --git a/Keywords/info.ucl b/Keywords/info.ucl
index b0d4b02ac4a4..956884330786 100644
--- a/Keywords/info.ucl
+++ b/Keywords/info.ucl
@@ -4,10 +4,16 @@
actions: [file]
post-install: <<EOD
- file=%D/%@
+ case "%@" in
+ /*) file="%@" ;;
+ *) file="%D/%@" ;;
+ esac
indexinfo ${file%/*}
EOD
post-deinstall: <<EOD
- file=%D/%@
+ case "%@" in
+ /*) file="%@" ;;
+ *) file="%D/%@" ;;
+ esac
indexinfo ${file%/*}
EOD