Skip to content

Commit

Permalink
Debugging install_linux.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ccanel committed May 23, 2024
1 parent d2b26fa commit c9fd171
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion linux/install_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -eoux pipefail

if [ "$#" -ne 1 ]; then
if [ "$#" -ne 1 ] && [ "$#" -ne 2 ]; then
echo "ERROR: Illegal number of parameters."
echo "Usage: ./install_linux.sh <main dir> <version default=5.15.156>"
exit 255
Expand All @@ -13,6 +13,7 @@ if [ -z "$2" ]; then
version="$2"
fi

sudo apt-get update
DEBIAN_FRONTEND="noninteractive" sudo apt-get -y --no-install-recommends install \
git \
fakeroot \
Expand Down

0 comments on commit c9fd171

Please sign in to comment.