Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Thom
ISPConfig Autoinstaller
Commits
2e6b81fd
Commit
2e6b81fd
authored
Aug 09, 2019
by
Marius Burkard
Browse files
- check for available apt-get command
parent
3d44f15b
Changes
1
Hide whitespace changes
Inline
Side-by-side
ispc3-ai.sh
View file @
2e6b81fd
...
...
@@ -8,6 +8,12 @@ BASEDIR=$(realpath ${BASEDIR}) ;
CURL
=
$(
which curl
)
;
WGET
=
$(
which wget
)
;
PHP
=
$(
which php
)
;
APT
=
$(
which apt-get
)
;
if
[
"
$APT
"
=
""
]
;
then
echo
"It seems you are using a distribution that has no apt-get available. This is not supported."
;
exit
1
;
fi
if
[
"
$CURL
"
=
""
]
;
then
if
[
"
$WGET
"
=
""
]
;
then
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment