7
RELEASE=$(lsb_release -r | cut -f 2)
9
if (( $(echo "$RELEASE >= 20.04" |bc -l) )); then
10
PKG_DEPS="$PKG_DEPS brz"
11
elif [ "$RELEASE" == "18.04" ]; then
12
PKG_DEPS="$PKG_DEPS brz"
14
PKG_DEPS="$PKG_DEPS bzr"
19
for PKG_DEP in $PKG_DEPS;
21
dpkg -l "${PKG_DEP?}" >/dev/null || PKGS_TO_INSTALL="$TO_INSTALL $PKG_DEP"
24
if [ "$PKGS_TO_INSTALL" != "" ]; then
25
echo "Please run: sudo apt-get install $PKGS_TO_INSTALL"