summaryrefslogtreecommitdiff
path: root/extra/xbill/xbill.install
diff options
context:
space:
mode:
Diffstat (limited to 'extra/xbill/xbill.install')
-rw-r--r--extra/xbill/xbill.install5
1 files changed, 3 insertions, 2 deletions
diff --git a/extra/xbill/xbill.install b/extra/xbill/xbill.install
index 014c0d54b..b68d88071 100644
--- a/extra/xbill/xbill.install
+++ b/extra/xbill/xbill.install
@@ -1,6 +1,7 @@
pre_install() {
- if [ ! -e var/games/xbill/scores ]; then
- [ -e usr/var/xbill/scores ] && mv usr/var/xbill/scores var/games/xbill/scores
+ if [ ! -e var/games/xbill/scores -a -e usr/var/xbill/scores ]; then
+ mkdir -p var/games/xbill
+ mv usr/var/xbill/scores var/games/xbill/scores
fi
}