more .deb package fixes

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-01-03 18:00:11 -06:00
parent cfcac121b9
commit b54d697173
1 changed files with 3 additions and 2 deletions

5
debian/Makefile vendored
View File

@ -26,6 +26,7 @@ extract:
mkdir -p ../files/usr/lib/go-gui/${GUIVERSION}/${TOOLKITVERSION}
cp ../*.so ../files/usr/lib/go-gui/${GUIVERSION}/${TOOLKITVERSION}/
cp ../README.md ../files/usr/lib/go-gui/${GUIVERSION}/${TOOLKITVERSION}/
cd ../files/usr/lib/go-gui/ && ln -s ${GUIVERSION}/${TOOLKITVERSION}/ latest
# makes the DEBIAN/ directory
DEBIAN:
@ -45,8 +46,8 @@ DEBIAN:
chmod +x DEBIAN
cp postinst DEBIAN
echo cd /usr/lib/go-gui/ >>DEBIAN/postinst
echo ln -sf ${GUIVERSION}/${TOOLKITVERSION} latest >>DEBIAN/postinst
# echo cd /usr/lib/go-gui/ >>DEBIAN/postinst
# echo ln -sf ${GUIVERSION}/${TOOLKITVERSION} latest >>DEBIAN/postinst
build:
mv DEBIAN ../files/