Skip to content

Commit

Permalink
buildscript.sh: Don't clean packages that don't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
svenstaro committed Apr 27, 2011
1 parent b6b1a80 commit 76a4eaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildscript.sh
Expand Up @@ -245,7 +245,7 @@ build ()
rm -rf "${WORKDIR}"/root-image/usr/src/* rm -rf "${WORKDIR}"/root-image/usr/src/*
rm -rf "${WORKDIR}"/root-image/usr/share/doc/* rm -rf "${WORKDIR}"/root-image/usr/share/doc/*
rm -rf "${WORKDIR}"/root-image/usr/share/man/* rm -rf "${WORKDIR}"/root-image/usr/share/man/*
pacman -Rsn --root "${BASEDIR}/${WORKDIR}/root-image/" --dbpath "${BASEDIR}/${WORKDIR}/root-image/var/lib/pacman" --config ${BASEDIR}/pacman.conf --noconfirm man-db man-pages || return 1 #pacman -Rsn --root "${BASEDIR}/${WORKDIR}/root-image/" --dbpath "${BASEDIR}/${WORKDIR}/root-image/var/lib/pacman" --config ${BASEDIR}/pacman.conf --noconfirm man-db man-pages || return 1
#pacman -Q --root "${BASEDIR}/${WORKDIR}/root-image/" --dbpath "${BASEDIR}/${WORKDIR}/root-image/var/lib/pacman" --config ${BASEDIR}/pacman.conf --noconfirm doxygen && pacman -Rsn --root "${BASEDIR}/${WORKDIR}/root-image/" --dbpath "${BASEDIR}/${WORKDIR}/root-image/var/lib/pacman" --config ${BASEDIR}/pacman.conf --noconfirm doxygen #pacman -Q --root "${BASEDIR}/${WORKDIR}/root-image/" --dbpath "${BASEDIR}/${WORKDIR}/root-image/var/lib/pacman" --config ${BASEDIR}/pacman.conf --noconfirm doxygen && pacman -Rsn --root "${BASEDIR}/${WORKDIR}/root-image/" --dbpath "${BASEDIR}/${WORKDIR}/root-image/var/lib/pacman" --config ${BASEDIR}/pacman.conf --noconfirm doxygen
echo ${TARGET} | grep -q "lite" && edition="lite" || edition="big" echo ${TARGET} | grep -q "lite" && edition="lite" || edition="big"
[ ! ${QUIET} == "y" ] && echo "build: Setting edition to '${edition}'" [ ! ${QUIET} == "y" ] && echo "build: Setting edition to '${edition}'"
Expand Down

0 comments on commit 76a4eaf

Please sign in to comment.