diff options
author | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2011-06-02 13:08:36 -0300 |
---|---|---|
committer | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2011-06-02 13:08:36 -0300 |
commit | 9127f25aff12902bf58302982c104704a5bdf202 (patch) | |
tree | 7cd485547b8f50f681fc1edf846e311e79ecfca0 /librestage | |
parent | 7e528534a2f7ff687cedac6b34c3881d97be0716 (diff) |
Better root user check
Diffstat (limited to 'librestage')
-rwxr-xr-x | librestage | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -79,7 +79,7 @@ for _arch in ${ARCHES[@]}; do pkgpath=$(find ${PKGDEST}/ -type f -name "${pkg}-${pkgver}-${pkgrel}-${_arch}${PKGEXT}") - [[ -z ${pkgpath} ]] && continue; + [[ -z ${pkgpath} ]] && continue pkgfile=$(basename ${pkgpath}) |