mirror of
https://github.com/ShaYmez/hblink3-docker-install.git
synced 2025-12-22 13:39:50 +13:00
Simplify error check for wrapper creation to only use file existence test
Co-authored-by: ShaYmez <76499782+ShaYmez@users.noreply.github.com>
This commit is contained in:
parent
1cca6057c4
commit
7235442b54
@ -108,7 +108,7 @@ install_docker_and_dependencies() {
|
||||
# Wrapper script to provide docker-compose command using docker compose plugin
|
||||
exec docker compose "$@"
|
||||
EOF
|
||||
if [ $? -eq 0 ] && [ -f /usr/local/bin/docker-compose ]; then
|
||||
if [ -f /usr/local/bin/docker-compose ]; then
|
||||
chmod +x /usr/local/bin/docker-compose
|
||||
echo "docker-compose wrapper created successfully"
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user