base-files: vkpurge is x86 specific, exit early in other archs.

This commit is contained in:
Juan RP 2014-11-21 17:10:47 +01:00
parent 2027e1b34b
commit 4089c7cb84
2 changed files with 7 additions and 1 deletions

View file

@ -85,6 +85,12 @@ remove_kernel()
fi
}
ARCH=$(uname -m)
case "$ARCH" in
i686*|x86_64*);;
*) echo "vkpurge is x86 specific, exiting..."; exit 0;;
esac
if [ "$1" = "list" ]; then
list_kernels
elif [ "$1" = "rm" ]; then

View file

@ -1,6 +1,6 @@
# Template file for 'base-files'
pkgname=base-files
version=0.112
version=0.113
revision=1
bootstrap=yes
build_style="meta"