summaryrefslogtreecommitdiffstats
path: root/db-update
diff options
context:
space:
mode:
Diffstat (limited to 'db-update')
-rwxr-xr-xdb-update3
1 files changed, 3 insertions, 0 deletions
diff --git a/db-update b/db-update
index 68450b4..13c7441 100755
--- a/db-update
+++ b/db-update
@@ -29,6 +29,9 @@ for repo in ${repos[@]}; do
pkgs=($(getpkgfiles "${STAGING}/${repo}/"*${PKGEXT}))
if [ $? -eq 0 ]; then
for pkg in ${pkgs[@]}; do
+ if [ -h "${pkg}" ]; then
+ die "Package ${repo}/$(basename ${pkg}) is a symbolic link"
+ fi
if ! check_pkgfile "${pkg}"; then
die "Package ${repo}/$(basename ${pkg}) is not consistent with its meta data"
fi