base-directories: use ARCH in INSTALL script rather than uname.

This commit is contained in:
Juan RP 2014-04-22 15:32:11 +02:00
parent 806bb72e2c
commit 15a7d3c779
2 changed files with 4 additions and 4 deletions

View File

@ -41,13 +41,13 @@ make_system_dirs()
[ ! -d var/${d} ] && install -d var/${d}
done
if [ "$(uname -m)" = "x86_64" ]; then
if [ "${ARCH}" = "x86_64" ]; then
ln -sf usr/lib lib64
cd usr && ln -sf lib lib64 && cd ..
install -d usr/lib32
ln -sf usr/lib32 lib32
fi
if [ "$(uname -m)" = "i686" ]; then
if [ "${ARCH}" = "i686" ]; then
ln -sf lib lib32
ln -sf lib usr/lib32
fi

View File

@ -1,11 +1,11 @@
# Template file for 'base-directories'
pkgname=base-directories
version=0.27
version=0.28
revision=1
noarch=yes
bootstrap=yes
build_style=meta
short_desc="Void Linux base system directories/symlinks"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://code.google.com/p/xbps"
homepage="http://www.voidlinux.eu"
license="Public domain"