Corrected issues with building and packaging

This commit is contained in:
Nav
2021-04-14 23:17:30 +01:00
parent d76b1e3f24
commit e79b3a42fb
8 changed files with 37 additions and 15 deletions

View File

@@ -2,10 +2,10 @@
BLOOM_UDEV_FILE_PATH=/etc/udev/rules.d/
if [ -f "${BLOOM_UDEV_FILE_PATH}/99-bloom.rules" ]; then
if [ -f "${BLOOM_UDEV_FILE_PATH}/99-bloom.rules" ] || [ -L "${BLOOM_UDEV_FILE_PATH}/99-bloom.rules" ] || [ -e "${BLOOM_UDEV_FILE_PATH}/99-bloom.rules" ]; then
sudo rm "$BLOOM_UDEV_FILE_PATH/99-bloom.rules";
fi
if [ -f "/usr/bin/bloom" ]; then
if [ -f "/usr/bin/bloom" ] || [ -L "/usr/bin/bloom" ] || [ -e "/usr/bin/bloom" ]; then
sudo rm /usr/bin/bloom;
fi