diff options
Diffstat (limited to 'debian/celestia-data.postinst')
-rw-r--r-- | debian/celestia-data.postinst | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/celestia-data.postinst b/debian/celestia-data.postinst new file mode 100644 index 0000000..a183376 --- /dev/null +++ b/debian/celestia-data.postinst @@ -0,0 +1,17 @@ +#!/bin/sh + +set -e + +case "$1" in + configure) + for d in extras extras-standard; do + if [ -d "/usr/share/celestia/$d" ]; then + find "/usr/share/celestia/$d" -name \*.xyzv | xargs -I{} xyzv2bin "{}" "{}bin" + fi + done + ;; +esac + +#DEBHELPER# + +exit 0 |