Skip to content

Commit f7e7d45

Browse files
committed
fix basename for curl
1 parent 0ed9e8c commit f7e7d45

File tree

207 files changed

+298
-298
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

207 files changed

+298
-298
lines changed

ct/authelia.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function update_script() {
3434
msg_info "Updating $APP to ${RELEASE}"
3535
$STD apt-get update
3636
$STD apt-get -y upgrade
37-
curl -fsSL "https://github.com/authelia/authelia/releases/download/${RELEASE}/authelia_${RELEASE}_amd64.deb" -O $(basename "https://github.com/authelia/authelia/releases/download/${RELEASE}/authelia_${RELEASE}_amd64.deb")
37+
curl -fsSL "https://github.com/authelia/authelia/releases/download/${RELEASE}/authelia_${RELEASE}_amd64.deb" -o $(basename"https://github.com/authelia/authelia/releases/download/${RELEASE}/authelia_${RELEASE}_amd64.deb")
3838
$STD dpkg -i "authelia_${RELEASE}_amd64.deb"
3939
msg_info "Cleaning Up"
4040
rm -f "authelia_${RELEASE}_amd64.deb"
@@ -55,4 +55,4 @@ description
5555
msg_ok "Completed Successfully!\n"
5656
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
5757
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
58-
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:9091${CL}"
58+
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:9091${CL}"

ct/autobrr.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function update_script() {
3333

3434
msg_info "Updating ${APP} LXC"
3535
rm -rf /usr/local/bin/*
36-
curl -fsSL "$(curl -fsSL https://api.github.com/repos/autobrr/autobrr/releases/latest | grep download | grep linux_x86_64 | cut -d\" -f4)" -O $(basename "$(curl -fsSL https://api.github.com/repos/autobrr/autobrr/releases/latest | grep download | grep linux_x86_64 | cut -d\" -f4)")
36+
curl -fsSL "$(curl -fsSL https://api.github.com/repos/autobrr/autobrr/releases/latest | grep download | grep linux_x86_64 | cut -d\" -f4)" -o $(basename"$(curl -fsSL https://api.github.com/repos/autobrr/autobrr/releases/latest | grep download | grep linux_x86_64 | cut -d\" -f4)")
3737
tar -C /usr/local/bin -xzf autobrr*.tar.gz
3838
rm -rf autobrr*.tar.gz
3939
msg_ok "Updated ${APP} LXC"
@@ -52,4 +52,4 @@ description
5252
msg_ok "Completed Successfully!\n"
5353
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
5454
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
55-
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:7474${CL}"
55+
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:7474${CL}"

ct/baikal.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function update_script() {
3535

3636
msg_info "Updating ${APP} to v${RELEASE}"
3737
cd /opt
38-
curl -fsSL "https://github.com/sabre-io/baikal/releases/download/${RELEASE}/baikal-${RELEASE}.zip" -O $(basename "https://github.com/sabre-io/baikal/releases/download/${RELEASE}/baikal-${RELEASE}.zip")
38+
curl -fsSL "https://github.com/sabre-io/baikal/releases/download/${RELEASE}/baikal-${RELEASE}.zip" -o $(basename"https://github.com/sabre-io/baikal/releases/download/${RELEASE}/baikal-${RELEASE}.zip")
3939
mv /opt/baikal /opt/baikal-backup
4040
unzip -o -q "baikal-${RELEASE}.zip"
4141
cp -r /opt/baikal-backup/config/baikal.yaml /opt/baikal/config/
@@ -67,4 +67,4 @@ description
6767
msg_ok "Completed Successfully!\n"
6868
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
6969
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
70-
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}${CL}"
70+
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}${CL}"

ct/barcode-buddy.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function update_script() {
3737
msg_info "Updating ${APP} to v${RELEASE}"
3838
cd /opt
3939
mv /opt/barcodebuddy/ /opt/barcodebuddy-backup
40-
curl -fsSL "https://github.com/Forceu/barcodebuddy/archive/refs/tags/v${RELEASE}.zip" -O $(basename "https://github.com/Forceu/barcodebuddy/archive/refs/tags/v${RELEASE}.zip")
40+
curl -fsSL "https://github.com/Forceu/barcodebuddy/archive/refs/tags/v${RELEASE}.zip" -o $(basename"https://github.com/Forceu/barcodebuddy/archive/refs/tags/v${RELEASE}.zip")
4141
unzip -q "v${RELEASE}.zip"
4242
mv "/opt/barcodebuddy-${RELEASE}" /opt/barcodebuddy
4343
cp -r /opt/barcodebuddy-backup/data/. /opt/barcodebuddy/data
@@ -68,4 +68,4 @@ description
6868
msg_ok "Completed Successfully!\n"
6969
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
7070
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
71-
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}${CL}"
71+
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}${CL}"

ct/bookstack.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 "--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")
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

ct/cockpit.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function update_script() {
5151
$STD apt-get install -y gawk
5252
msg_ok "Installed dependencies"
5353
msg_info "Installing Cockpit file sharing"
54-
curl -fsSL "$(curl -fsSL https://api.github.com/repos/45Drives/cockpit-file-sharing/releases/latest | grep download | grep focal_all.deb | cut -d\" -f4)" -O $(basename "$(curl -fsSL https://api.github.com/repos/45Drives/cockpit-file-sharing/releases/latest | grep download | grep focal_all.deb | cut -d\" -f4)")
54+
curl -fsSL "$(curl -fsSL https://api.github.com/repos/45Drives/cockpit-file-sharing/releases/latest | grep download | grep focal_all.deb | cut -d\" -f4)" -o $(basename"$(curl -fsSL https://api.github.com/repos/45Drives/cockpit-file-sharing/releases/latest | grep download | grep focal_all.deb | cut -d\" -f4)")
5555
$STD dpkg -i cockpit-file-sharing_*focal_all.deb
5656
rm cockpit-file-sharing_*focal_all.deb
5757
msg_ok "Installed Cockpit file sharing"
@@ -64,7 +64,7 @@ curl -fsSL "$(curl -fsSL https://api.github.com/repos/45Drives/cockpit-file-shar
6464
$STD apt-get install -y samba-common-bin
6565
msg_ok "Installed dependencies"
6666
msg_info "Installing Cockpit identities"
67-
curl -fsSL "$(curl -fsSL https://api.github.com/repos/45Drives/cockpit-identities/releases/latest | grep download | grep focal_all.deb | cut -d\" -f4)" -O $(basename "$(curl -fsSL https://api.github.com/repos/45Drives/cockpit-identities/releases/latest | grep download | grep focal_all.deb | cut -d\" -f4)")
67+
curl -fsSL "$(curl -fsSL https://api.github.com/repos/45Drives/cockpit-identities/releases/latest | grep download | grep focal_all.deb | cut -d\" -f4)" -o $(basename"$(curl -fsSL https://api.github.com/repos/45Drives/cockpit-identities/releases/latest | grep download | grep focal_all.deb | cut -d\" -f4)")
6868
$STD dpkg -i cockpit-identities_*focal_all.deb
6969
rm cockpit-identities_*focal_all.deb
7070
msg_ok "Installed Cockpit identities"
@@ -76,7 +76,7 @@ curl -fsSL "$(curl -fsSL https://api.github.com/repos/45Drives/cockpit-identitie
7676
$STD apt-get install -y zip
7777
msg_ok "Installed dependencies"
7878
msg_info "Installing Cockpit navigator"
79-
curl -fsSL "$(curl -fsSL https://api.github.com/repos/45Drives/cockpit-navigator/releases/latest | grep download | grep focal_all.deb | cut -d\" -f4)" -O $(basename "$(curl -fsSL https://api.github.com/repos/45Drives/cockpit-navigator/releases/latest | grep download | grep focal_all.deb | cut -d\" -f4)")
79+
curl -fsSL "$(curl -fsSL https://api.github.com/repos/45Drives/cockpit-navigator/releases/latest | grep download | grep focal_all.deb | cut -d\" -f4)" -o $(basename"$(curl -fsSL https://api.github.com/repos/45Drives/cockpit-navigator/releases/latest | grep download | grep focal_all.deb | cut -d\" -f4)")
8080
$STD dpkg -i cockpit-navigator_*focal_all.deb
8181
rm cockpit-navigator_*focal_all.deb
8282
msg_ok "Installed Cockpit navigator"
@@ -91,4 +91,4 @@ description
9191
msg_ok "Completed Successfully!\n"
9292
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
9393
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
94-
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:9090${CL}"
94+
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:9090${CL}"

ct/commafeed.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function update_script() {
3434
msg_ok "Stopped ${APP}"
3535

3636
msg_info "Updating ${APP} to ${RELEASE}"
37-
curl -fsSL "https://github.com/Athou/commafeed/releases/download/${RELEASE}/commafeed-${RELEASE}-h2-jvm.zip" -O $(basename "https://github.com/Athou/commafeed/releases/download/${RELEASE}/commafeed-${RELEASE}-h2-jvm.zip")
37+
curl -fsSL "https://github.com/Athou/commafeed/releases/download/${RELEASE}/commafeed-${RELEASE}-h2-jvm.zip" -o $(basename"https://github.com/Athou/commafeed/releases/download/${RELEASE}/commafeed-${RELEASE}-h2-jvm.zip")
3838
unzip -q commafeed-${RELEASE}-h2-jvm.zip
3939
rsync -a --exclude 'data/' commafeed-${RELEASE}-h2/ /opt/commafeed/
4040
rm -rf commafeed-${RELEASE}-h2 commafeed-${RELEASE}-h2-jvm.zip
@@ -58,4 +58,4 @@ description
5858
msg_ok "Completed Successfully!\n"
5959
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
6060
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
61-
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8082${CL}"
61+
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8082${CL}"

ct/crafty-controller.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function update_script() {
4545
msg_ok "Backup Created"
4646

4747
msg_info "Updating Crafty-Controller to v${RELEASE}"
48-
curl -fsSL "https://gitlab.com/crafty-controller/crafty-4/-/archive/v${RELEASE}/crafty-4-v${RELEASE}.zip" -O $(basename "https://gitlab.com/crafty-controller/crafty-4/-/archive/v${RELEASE}/crafty-4-v${RELEASE}.zip")
48+
curl -fsSL "https://gitlab.com/crafty-controller/crafty-4/-/archive/v${RELEASE}/crafty-4-v${RELEASE}.zip" -o $(basename"https://gitlab.com/crafty-controller/crafty-4/-/archive/v${RELEASE}/crafty-4-v${RELEASE}.zip")
4949
unzip -q crafty-4-v${RELEASE}.zip
5050
cp -a crafty-4-v${RELEASE}/. /opt/crafty-controller/crafty/crafty-4/
5151
rm -rf crafty-4-v${RELEASE}
@@ -81,4 +81,4 @@ description
8181
msg_ok "Completed Successfully!\n"
8282
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
8383
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
84-
echo -e "${TAB}${GATEWAY}${BGN}https://${IP}:8443${CL}"
84+
echo -e "${TAB}${GATEWAY}${BGN}https://${IP}:8443${CL}"

ct/cryptpad.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function update_script() {
3737
msg_info "Updating $APP to ${RELEASE}"
3838
temp_dir=$(mktemp -d)
3939
cp -f /opt/cryptpad/config/config.js /opt/config.js
40-
curl -fsSL "https://github.com/cryptpad/cryptpad/archive/refs/tags/${RELEASE}.tar.gz" -P $temp_dir" -O $(basename "https://github.com/cryptpad/cryptpad/archive/refs/tags/${RELEASE}.tar.gz" -P $temp_dir")
40+
curl -fsSL "https://github.com/cryptpad/cryptpad/archive/refs/tags/${RELEASE}.tar.gz" -P $temp_dir" -o $(basename"https://github.com/cryptpad/cryptpad/archive/refs/tags/${RELEASE}.tar.gz" -P $temp_dir")
4141
cd $temp_dir
4242
tar zxf $RELEASE.tar.gz
4343
cp -rf cryptpad-$RELEASE/* /opt/cryptpad

ct/duplicati.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function update_script() {
3333
systemctl stop duplicati
3434
msg_ok "Stopped $APP"
3535
msg_info "Updating $APP to v${RELEASE}"
36-
curl -fsSL "https://github.com/duplicati/duplicati/releases/download/v${RELEASE}/duplicati-${RELEASE}-linux-x64-gui.deb" -O $(basename "https://github.com/duplicati/duplicati/releases/download/v${RELEASE}/duplicati-${RELEASE}-linux-x64-gui.deb")
36+
curl -fsSL "https://github.com/duplicati/duplicati/releases/download/v${RELEASE}/duplicati-${RELEASE}-linux-x64-gui.deb" -o $(basename"https://github.com/duplicati/duplicati/releases/download/v${RELEASE}/duplicati-${RELEASE}-linux-x64-gui.deb")
3737
$STD dpkg -i duplicati-${RELEASE}-linux-x64-gui.deb
3838
echo "${RELEASE}" >/opt/${APP}_version.txt
3939
msg_ok "Updated $APP to v${RELEASE}"
@@ -60,4 +60,4 @@ description
6060
msg_ok "Completed Successfully!\n"
6161
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
6262
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
63-
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8200${CL}"
63+
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8200${CL}"

0 commit comments

Comments
 (0)