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

@@ -1 +1 @@
Bloom is a Linux-based debug interface for embedded systems development. Bloom supports most Microchip AVR8 targets, along with numerous EDBG-based debug tools.
A debug interface for embedded systems development on Linux. Bloom supports most Microchip AVR8 targets, along with numerous EDBG-based debug tools.

View File

@@ -2,12 +2,12 @@
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 ln -s /opt/bloom/resources/UDevRules/99-bloom.rules "$BLOOM_UDEV_FILE_PATH";
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

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