mirror of
https://github.com/vincenthsu/systemd-ngrok.git
synced 2025-02-11 09:25:28 +00:00
Update install.sh
Check if git is installed. Without git, the installer fails with the misleading error: Failed to enable unit: Unit file ngrok.service does not exist. Failed to start ngrok.service: Unit ngrok.service not found.
This commit is contained in:
parent
c7317290c9
commit
5c0391d6cc
|
@ -5,6 +5,11 @@ if [ ! $(which wget) ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! $(which git) ]; then
|
||||||
|
echo 'Please install git package'
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
if [ ! $(which unzip) ]; then
|
if [ ! $(which unzip) ]; then
|
||||||
echo 'Please install zip package'
|
echo 'Please install zip package'
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user