Navigation Menu

Skip to content

Commit

Permalink
packages deb: remove epoch from MARIADB_VERSION
Browse files Browse the repository at this point in the history
Since Ubuntu 18.04, mariadb-server-10.1 package contains epoch (1:),
it causes failure to download orig source archive.
  • Loading branch information
kenhys committed May 2, 2018
1 parent 81f609e commit bec7e5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/debian-mariadb-10.1/rules
Expand Up @@ -7,7 +7,7 @@
export DH_OPTIONS

export MARIADB_VERSION_FULL := $(shell apt-cache show mariadb-server-10.1 | grep Version | head -n 1 | awk '{print $$2}')
export MARIADB_VERSION := $(shell apt-cache show mariadb-server-10.1 | grep Version | head -n 1 | awk '{print $$2}' | awk -F '-' '{print $$1}')
export MARIADB_VERSION := $(shell apt-cache show mariadb-server-10.1 | grep Version | head -n 1 | awk '{print $$2}' | cut -d: -f2 | awk -F '-' '{print $$1}')

%:
dh $@
Expand Down

0 comments on commit bec7e5e

Please sign in to comment.