fix, arch missing from deb pack name

This commit is contained in:
Basile Burg 2017-06-17 04:17:03 +02:00
parent 7260412b05
commit b2854ab872
No known key found for this signature in database
GPG Key ID: 1868039F415CB8CF
1 changed files with 8 additions and 7 deletions

View File

@ -3,7 +3,14 @@ maj=${ver:0:1}
min1=${ver//_}
min=${min1:1}
dte=$(LC_TIME='en_EN.UTF-8' date -u +"%a %b %d %Y")
name=coedit.$maj-$min.$arch
if [ $CPU = "x86_64" ]; then
arch="amd64"
else
arch="i386"
fi
name=coedit-$maj-$min.$arch
basdir=$HOME/$name/
cfgdir=$basdir/DEBIAN
@ -12,12 +19,6 @@ pixdir=$basdir/usr/share/pixmaps
shcdir=$basdir/usr/share/applications
arch=""
if [ $CPU = "x86_64" ]; then
arch="amd64"
else
arch="i386"
fi
mkdir -p $basdir
mkdir -p $cfgdir
mkdir -p $bindir