diff --git a/addons/point_of_sale/tools/posbox/overwrite_before_init/etc/init_posbox_image.sh b/addons/point_of_sale/tools/posbox/overwrite_before_init/etc/init_posbox_image.sh index c32a4f6e845..c6d019cd945 100755 --- a/addons/point_of_sale/tools/posbox/overwrite_before_init/etc/init_posbox_image.sh +++ b/addons/point_of_sale/tools/posbox/overwrite_before_init/etc/init_posbox_image.sh @@ -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