Skip to content

Commit 95078f9

Browse files
committed
lets keep DIR on the top as usual
1 parent 9458d9b commit 95078f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/countly.install_ubuntu.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
set -e
44

5+
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
6+
57
UBUNTU_YEAR="$(lsb_release -sr | cut -d '.' -f 1)";
68

79
if [[ "$UBUNTU_YEAR" != "18" && "$UBUNTU_YEAR" != "20" && "$UBUNTU_YEAR" != "22" ]]; then
810
echo "Unsupported OS version, only support Ubuntu 22, 20 and 18"
911
exit 1
1012
fi
1113

12-
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
13-
1414
bash "$DIR/scripts/logo.sh";
1515

1616
#update package index

0 commit comments

Comments
 (0)