Browse Source

tool: Force install incompatible apps

pull/396/head
jld3103 1 year ago
parent
commit
e5fa939d6c
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3
  1. 4
      tool/update.sh

4
tool/update.sh

@ -29,10 +29,10 @@ elif [ -d "external/nextcloud-$1" ]; then
if [[ "$1" == "server" ]]; then
sed -i "s/FROM nextcloud:.*/FROM nextcloud:$latest_version/" ../../tool/Dockerfile.dev
else
sed -i "s/RUN \.\/occ app:install $1 .*/RUN .\/occ app:install $1 # $latest_version/" ../../tool/Dockerfile.dev
sed -i "s/RUN \.\/occ app:install $1 .*/RUN .\/occ app:install $1 --force --allow-unstable # $latest_version/" ../../tool/Dockerfile.dev
fi
)
else
echo "$1 not found"
exit 1
fi
fi

Loading…
Cancel
Save