Adding dpkg origin file for Progress Linux.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
This commit is contained in:
parent
7d6d05d4a4
commit
9c3941c466
4 changed files with 15 additions and 1 deletions
1
debian/base-files.install
vendored
1
debian/base-files.install
vendored
|
@ -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
6
debian/local/dpkg/progress-linux
vendored
Normal 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
7
debian/postinst
vendored
|
@ -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
2
debian/rules
vendored
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue