diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-08-24 13:10:58 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-08-24 13:10:58 +0200 |
commit | 476cce1c57a62821a2da8f5481e21e3e9c0d68fd (patch) | |
tree | 3a0023d2a8e9577ea935e135bbb7fb4a6fe221c1 /db-update | |
parent | e9948d8392d5ab986541c0d7120f1e5c510261ad (diff) |
db-update: Make sure there are no links in the staging directory
Diffstat (limited to 'db-update')
-rwxr-xr-x | db-update | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |