|
|
@ -29,10 +29,10 @@ elif [ -d "external/nextcloud-$1" ]; then |
|
|
|
if [[ "$1" == "server" ]]; then |
|
|
|
if [[ "$1" == "server" ]]; then |
|
|
|
sed -i "s/FROM nextcloud:.*/FROM nextcloud:$latest_version/" ../../tool/Dockerfile.dev |
|
|
|
sed -i "s/FROM nextcloud:.*/FROM nextcloud:$latest_version/" ../../tool/Dockerfile.dev |
|
|
|
else |
|
|
|
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 |
|
|
|
fi |
|
|
|
) |
|
|
|
) |
|
|
|
else |
|
|
|
else |
|
|
|
echo "$1 not found" |
|
|
|
echo "$1 not found" |
|
|
|
exit 1 |
|
|
|
exit 1 |
|
|
|
fi |
|
|
|
fi |
|
|
|