[deb] Use xyzv2bin to create binary xyzv files on installation
parent
0a35ee0b53
commit
bbee112b1b
|
@ -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
|
|
@ -0,0 +1,17 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
remove|deconfigure)
|
||||||
|
for d in extras extras-standard; do
|
||||||
|
if [ -d "/usr/share/celestia/$d" ]; then
|
||||||
|
find "/usr/share/celestia/$d" -name \*.xyzvbin -delete
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
#DEBHELPER#
|
||||||
|
|
||||||
|
exit 0
|
|
@ -12,6 +12,7 @@ Conflicts: celestia (<< 1.4.1), celestia-common (<< 1.7.0~), celestia-common-non
|
||||||
Replaces: celestia (<< 1.4.1), celestia-common (<< 1.7.0~), celestia-common-nonfree (<< 1.7.0~)
|
Replaces: celestia (<< 1.4.1), celestia-common (<< 1.7.0~), celestia-common-nonfree (<< 1.7.0~)
|
||||||
Recommends: celestia
|
Recommends: celestia
|
||||||
Depends: ${misc:Depends}
|
Depends: ${misc:Depends}
|
||||||
|
Pre-Depends: celestia-tools
|
||||||
Description: data files for Celestia, a real-time visual space simulation
|
Description: data files for Celestia, a real-time visual space simulation
|
||||||
Celestia is a free 3D astronomy program. Based on the Hipparcos
|
Celestia is a free 3D astronomy program. Based on the Hipparcos
|
||||||
Catalogue, it allows users to display objects ranging in scale from
|
Catalogue, it allows users to display objects ranging in scale from
|
||||||
|
|
Loading…
Reference in New Issue