force installation of Issue Template (#2099)

This commit is contained in:
Daniel Hansson 2021-08-30 23:03:35 +02:00 committed by GitHub
parent b8ec60239d
commit fea049f93f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -847,7 +847,13 @@ case "$choice" in
install_and_enable_app contacts
;;&
*"IssueTemplate"*)
install_and_enable_app issuetemplate
# install_and_enable_app issuetemplate
rm -rf "$NCPATH"apps/issuetemplate
curl_to_dir https://github.com/nextcloud/issuetemplate/releases/download/v0.7.0 issuetemplate.tar.gz /tmp
tar -xvf /tmp/issuetemplate.tar.gz -C "$NCPATH"/apps
bash "$SECURE"
sed -i "s|20|${CURRENTVERSION%%.*}|g" "$NCPATH"/apps/issuetemplate/appinfo/info.xml
nextcloud_occ_no_check app:enable issuetemplate
;;&
*"PDFViewer"*)
install_and_enable_app files_pdfviewer