diff options
author | 2017-10-19 19:41:10 -0500 | |
---|---|---|
committer | 2017-10-19 19:41:10 -0500 | |
commit | d81f933d62707582cf1431cb81dddc64fb6ef1d8 (patch) | |
tree | 7e071e00aae785d0f3b9552aa1b3a229bf1027e9 | |
parent | gimp globbing (diff) | |
download | firejail-d81f933d62707582cf1431cb81dddc64fb6ef1d8.tar.gz firejail-d81f933d62707582cf1431cb81dddc64fb6ef1d8.tar.zst firejail-d81f933d62707582cf1431cb81dddc64fb6ef1d8.zip |
Simplify deb package naming
-rwxr-xr-x | mkdeb.sh | 12 |
1 files changed, 1 insertions, 11 deletions
@@ -44,16 +44,6 @@ find $INSTALL_DIR -type d | xargs chmod 755 | |||
44 | cd $CODE_DIR | 44 | cd $CODE_DIR |
45 | fakeroot dpkg-deb --build debian | 45 | fakeroot dpkg-deb --build debian |
46 | lintian --no-tag-display-limit debian.deb | 46 | lintian --no-tag-display-limit debian.deb |
47 | arch=$( getconf LONG_BIT ) | 47 | mv debian.deb ../firejail_$2_1_$(dpkg-architecture -qDEB_HOST_ARCH).deb |
48 | if [ $arch = 64 ] | ||
49 | then | ||
50 | mv debian.deb ../firejail_$2_1_amd64.deb | ||
51 | elif [ $arch = 32 ] | ||
52 | then | ||
53 | mv debian.deb ../firejail_$2_1_i386.deb | ||
54 | # Fallback to 64-bit package. | ||
55 | else | ||
56 | mv debian.deb ../firejail_$2_1_amd64.deb | ||
57 | fi | ||
58 | cd .. | 48 | cd .. |
59 | rm -fr $CODE_DIR | 49 | rm -fr $CODE_DIR |