[FIX] point_of_sale: rm with -f does not return non-zero

This commit is contained in:
Joren Van Onder 2015-10-08 10:35:26 +02:00
parent b25af944a1
commit 3726612735
1 changed files with 3 additions and 3 deletions

View File

@ -37,11 +37,11 @@ apt-get -y install ${PKGS_TO_INSTALL}
apt-get clean
localepurge
rm -rf /usr/share/doc || true
rm -rf /home/pi/python_games || true
rm -rf /usr/share/doc
rm -rf /home/pi/python_games
# remove raspi-config notice, it's not necessary and it's not installed anyway
rm -f /etc/profile.d/raspi-config.sh || true
rm -f /etc/profile.d/raspi-config.sh
# python-usb in wheezy is too old
# the latest pyusb from pip does not work either, usb.core.find() never returns