From cfcac121b9a35f489c958ba693958ec53f7d9f4b Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 3 Jan 2024 17:40:10 -0600 Subject: more .deb rules Signed-off-by: Jeff Carr --- debian/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'debian/Makefile') diff --git a/debian/Makefile b/debian/Makefile index 4c48021..8318fef 100644 --- a/debian/Makefile +++ b/debian/Makefile @@ -4,7 +4,7 @@ TOOLKITVERSION=$(shell git describe --tags $(git rev-list --tags --max-count=1) VERSION=${TOOLKITVERSION}-gui-${GUIVERSION} -BASENAME=go-wit-gui +BASENAME=go-gui-toolkits all: help deb @@ -42,7 +42,11 @@ DEBIAN: echo ToolkitVersion: ${TOOLKITVERSION} >>DEBIAN/control echo GuiVersion: ${GUIVERSION} >>DEBIAN/control + chmod +x DEBIAN + cp postinst DEBIAN + echo cd /usr/lib/go-gui/ >>DEBIAN/postinst + echo ln -sf ${GUIVERSION}/${TOOLKITVERSION} latest >>DEBIAN/postinst build: mv DEBIAN ../files/ -- cgit v1.2.3