Fix bug in sync_dtd, thanks to freke

This commit is contained in:
hasufell 2015-08-15 15:58:01 +02:00
parent e1c68215d5
commit 19dab7c969
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020

View File

@ -8,7 +8,7 @@ source "/etc/paludis/hooks/set_portdir.bash"
cd "${PORTDIR}"/metadata || die "could not cd into '${PORTDIR}/metadata'!"
if [[ -e dtd ]] ; then
einfo "dtd dir already exists, updating..."
cd glsa || die "could not cd into 'dtd'!"
cd dtd || die "could not cd into 'dtd'!"
git pull --ff || die "could not pull updates!"
else
einfo "dtd directory does not exist, cloning..."