base-directories: use ARCH in INSTALL script rather than uname.
This commit is contained in:
parent
806bb72e2c
commit
15a7d3c779
2 changed files with 4 additions and 4 deletions
|
@ -41,13 +41,13 @@ make_system_dirs()
|
||||||
[ ! -d var/${d} ] && install -d var/${d}
|
[ ! -d var/${d} ] && install -d var/${d}
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ "$(uname -m)" = "x86_64" ]; then
|
if [ "${ARCH}" = "x86_64" ]; then
|
||||||
ln -sf usr/lib lib64
|
ln -sf usr/lib lib64
|
||||||
cd usr && ln -sf lib lib64 && cd ..
|
cd usr && ln -sf lib lib64 && cd ..
|
||||||
install -d usr/lib32
|
install -d usr/lib32
|
||||||
ln -sf usr/lib32 lib32
|
ln -sf usr/lib32 lib32
|
||||||
fi
|
fi
|
||||||
if [ "$(uname -m)" = "i686" ]; then
|
if [ "${ARCH}" = "i686" ]; then
|
||||||
ln -sf lib lib32
|
ln -sf lib lib32
|
||||||
ln -sf lib usr/lib32
|
ln -sf lib usr/lib32
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
# Template file for 'base-directories'
|
# Template file for 'base-directories'
|
||||||
pkgname=base-directories
|
pkgname=base-directories
|
||||||
version=0.27
|
version=0.28
|
||||||
revision=1
|
revision=1
|
||||||
noarch=yes
|
noarch=yes
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
build_style=meta
|
build_style=meta
|
||||||
short_desc="Void Linux base system directories/symlinks"
|
short_desc="Void Linux base system directories/symlinks"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://code.google.com/p/xbps"
|
homepage="http://www.voidlinux.eu"
|
||||||
license="Public domain"
|
license="Public domain"
|
||||||
|
|
Loading…
Reference in a new issue