mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
Simplify deb package naming
This commit is contained in:
parent
3f693b88a2
commit
d81f933d62
1 changed files with 1 additions and 11 deletions
12
mkdeb.sh
12
mkdeb.sh
|
|
@ -44,16 +44,6 @@ find $INSTALL_DIR -type d | xargs chmod 755
|
|||
cd $CODE_DIR
|
||||
fakeroot dpkg-deb --build debian
|
||||
lintian --no-tag-display-limit debian.deb
|
||||
arch=$( getconf LONG_BIT )
|
||||
if [ $arch = 64 ]
|
||||
then
|
||||
mv debian.deb ../firejail_$2_1_amd64.deb
|
||||
elif [ $arch = 32 ]
|
||||
then
|
||||
mv debian.deb ../firejail_$2_1_i386.deb
|
||||
# Fallback to 64-bit package.
|
||||
else
|
||||
mv debian.deb ../firejail_$2_1_amd64.deb
|
||||
fi
|
||||
mv debian.deb ../firejail_$2_1_$(dpkg-architecture -qDEB_HOST_ARCH).deb
|
||||
cd ..
|
||||
rm -fr $CODE_DIR
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue