Permalink
Browse files

buildscript.sh: Don't clean packages that don't exist

  • Loading branch information...
1 parent b6b1a80 commit 76a4eaf4607146dd95055ac723c014a5f42493d9 @svenstaro committed Apr 27, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 buildscript.sh
View
@@ -245,7 +245,7 @@ build ()
rm -rf "${WORKDIR}"/root-image/usr/src/*
rm -rf "${WORKDIR}"/root-image/usr/share/doc/*
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
echo ${TARGET} | grep -q "lite" && edition="lite" || edition="big"
[ ! ${QUIET} == "y" ] && echo "build: Setting edition to '${edition}'"

0 comments on commit 76a4eaf

Please sign in to comment.