1
0
Fork 0

Adding dpkg origin file for Progress Linux.

Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
This commit is contained in:
Daniel Baumann 2025-06-23 09:54:01 +02:00
parent 7d6d05d4a4
commit 9c3941c466
Signed by: daniel.baumann
GPG key ID: BCC918A2ABD66424
4 changed files with 15 additions and 1 deletions

View file

@ -3,3 +3,4 @@ debian/local/base-files/issue.net /etc
debian/local/base-files/motd /usr/share/base-files
debian/local/base-files/os-release /etc
debian/local/base-files/progress-linux_version /etc
debian/local/dpkg/progress-linux /etc/dpkg/origins

6
debian/local/dpkg/progress-linux vendored Normal file
View file

@ -0,0 +1,6 @@
# /etc/dpkg/origins/progress-linux
Vendor: progress-linux
Vendor-URL: https://progress-linux.org
Bugs: mailto:maintainers@lists.progress-linux.org
Parent: Debian

7
debian/postinst vendored
View file

@ -52,6 +52,13 @@ update_to_current_default() {
fi
}
# remove debian origin default symlink
if [ -h "$DPKG_ROOT/etc/dpkg/origins/default" ]; then
if [ "`readlink "$DPKG_ROOT/etc/dpkg/origins/default"`" = "debian" ]; then
rm -f "$DPKG_ROOT/etc/dpkg/origins/default"
fi
fi
if [ ! -e "$DPKG_ROOT/etc/dpkg/origins/default" ]; then
if [ -e "$DPKG_ROOT/etc/dpkg/origins/#VENDORFILE#" ]; then
ln -sf #VENDORFILE# "$DPKG_ROOT/etc/dpkg/origins/default"

2
debian/rules vendored
View file

@ -10,7 +10,7 @@ ifeq ($(DEB_HOST_GNU_SYSTEM),gnu)
OSNAME=GNU/Hurd
endif
VENDORFILE = debian
VENDORFILE = progress-linux
DESTDIR = debian/base-files
ifneq (,$(filter $(DEB_HOST_ARCH),amd64 loong64 mips64el ppc64 ppc64el sparc64))