File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed
Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ function update_script() {
3636
3737 msg_info " Building ${APP} website"
3838 mkdir -p /opt/authentik
39- curl -fsSL " ${RELEASE} " -o " authentik.tar.gz"
39+ curl -fsSL " ${RELEASE} " -o " authentik.tar.gz"
4040 tar -xzf authentik.tar.gz -C /opt/authentik --strip-components 1 --overwrite
4141 rm -rf authentik.tar.gz
4242 cd /opt/authentik/website
@@ -84,4 +84,4 @@ description
8484
8585echo -e " ${CREATING}${GN}${APP} setup has been successfully initialized!${CL} "
8686echo -e " ${INFO}${YW} Access it using the following URL:${CL} "
87- echo -e " ${TAB}${GATEWAY}${BGN} http://${IP} :9000/if/flow/initial-setup/${CL} "
87+ echo -e " ${TAB}${GATEWAY}${BGN} http://${IP} :9000/if/flow/initial-setup/${CL} "
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ function update_script() {
3535
3636 msg_info " Updating ${APP} to v${RELEASE} "
3737 mv /opt/bookstack /opt/bookstack-backup
38- curl -fsSL " --directory-prefix=/opt " https://github.com/BookStackApp/BookStack/archive/refs/tags/v${RELEASE} .zip" -o $( basename " --directory-prefix= /opt " https://github.com/BookStackApp/ BookStack/archive/refs/tags/v ${RELEASE} .zip" )
38+ curl -fsSL " https://github.com/BookStackApp/BookStack/archive/refs/tags/v${RELEASE} .zip" -o " /opt/ BookStack- ${RELEASE} .zip"
3939 unzip -q /opt/v${RELEASE} .zip -d /opt
4040 mv /opt/BookStack-${RELEASE} /opt/bookstack
4141 cp /opt/bookstack-backup/.env /opt/bookstack/.env
@@ -75,4 +75,4 @@ description
7575msg_ok " Completed Successfully!\n"
7676echo -e " ${CREATING}${GN}${APP} setup has been successfully initialized!${CL} "
7777echo -e " ${INFO}${YW} Access it using the following URL:${CL} "
78- echo -e " ${TAB}${GATEWAY}${BGN} http://${IP}${CL} "
78+ echo -e " ${TAB}${GATEWAY}${BGN} http://${IP}${CL} "
Original file line number Diff line number Diff line change @@ -63,10 +63,10 @@ $STD ldconfig
6363RELEASE_CLIENT=$( curl -fsSLL https://api.github.com/repos/apache/guacamole-client/tags | jq -r ' .[0].name' )
6464curl -fsSL " https://downloads.apache.org/guacamole/${RELEASE_CLIENT} /binary/guacamole-${RELEASE_CLIENT} .war" -o " /opt/apache-guacamole/tomcat9/webapps/guacamole.war"
6565cd /root
66- curl -fsSL " --directory-prefix=/root/ https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-8.0.26.tar.gz" -o $( basename " --directory-prefix= /root/ https://dev. mysql.com/get/Downloads/Connector-J/mysql- connector-java-8.0.26.tar.gz" )
66+ curl -fsSL " https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-8.0.26.tar.gz" -o " /root/mysql- connector-java-8.0.26.tar.gz"
6767$STD tar -xf ~ /mysql-connector-java-8.0.26.tar.gz
6868mv ~ /mysql-connector-java-8.0.26/mysql-connector-java-8.0.26.jar /etc/guacamole/lib/
69- curl -fsSL " --directory-prefix=/root/ https://downloads.apache.org/guacamole/1.5.5/binary/guacamole-auth-jdbc-1.5.5.tar.gz" -o $( basename " --directory-prefix= /root/ https://downloads.apache.org/ guacamole/1.5.5/binary/guacamole -auth-jdbc-1.5.5.tar.gz" )
69+ curl -fsSL " https://downloads.apache.org/guacamole/1.5.5/binary/guacamole-auth-jdbc-1.5.5.tar.gz" -o " /root/guacamole-auth-jdbc-1.5.5.tar.gz"
7070$STD tar -xf ~ /guacamole-auth-jdbc-1.5.5.tar.gz
7171mv ~ /guacamole-auth-jdbc-1.5.5/mysql/guacamole-auth-jdbc-mysql-1.5.5.jar /etc/guacamole/extensions/
7272msg_ok " Setup Apache Guacamole"
Original file line number Diff line number Diff line change @@ -38,8 +38,8 @@ msg_ok "Installed Dependencies"
3838
3939msg_info " Installing yq"
4040cd /tmp
41- YQ_LATEST=" $( curl -fsSL " https://api.github.com/repos/mikefarah/yq/releases/latest" | grep -Po ' "tag_name": \K.*?(?=")' ) "
42- curl -fsSL " https://github.com/mikefarah/yq/releases/download/${YQ_LATEST} /yq_linux_amd64" -qO /usr/bin/yq " -o $( basename " https://github.com/mikefarah/yq/releases/download/ ${YQ_LATEST} /yq_linux_amd64 " -qO / usr/bin/yq" )
41+ YQ_LATEST=" $( curl -fsSL https://api.github.com/repos/mikefarah/yq/releases/latest | grep -Po ' "tag_name": \K.*?(?=")' ) "
42+ curl -fsSL " https://github.com/mikefarah/yq/releases/download/${YQ_LATEST} /yq_linux_amd64" -o / usr/bin/yq
4343chmod +x /usr/bin/yq
4444msg_ok " Installed yq"
4545
@@ -190,4 +190,4 @@ rm -rf authentik.tar.gz
190190$STD apt-get -y remove yq
191191$STD apt-get -y autoremove
192192$STD apt-get -y autoclean
193- msg_ok " Cleaned"
193+ msg_ok " Cleaned"
You can’t perform that action at this time.
0 commit comments