Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
updated debian packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
vaclavblazek committed Jul 7, 2021
1 parent 01b9f22 commit 84bc765
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
16 changes: 16 additions & 0 deletions mapproxy/debian/fix-shlibs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/bash

function fix_focal() {
# change to base distro version
sed -i 's/4.2.0+melown/4.2.0+dfsg-5/g' $1
}

function fix() {
case ${DEB_RELEASE} in
focal) fix_focal $1;;
esac
}

for file in debian/*.substvars; do
fix ${file}
done
4 changes: 4 additions & 0 deletions mapproxy/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,7 @@ override_dh_icons:
override_dh_perl:
override_dh_usrlocal:
override_dh_installexamples:

override_dh_shlibdeps:
dh_shlibdeps
debian/fix-shlibs.sh

0 comments on commit 84bc765

Please sign in to comment.