Compare commits

..

3 Commits

Author SHA1 Message Date
tteckster 3b2c81cf1c
Optimizing code 2023-03-30 07:02:00 -04:00
tteckster a243d8ef26
Update homepage-install.sh
add back git for update
2023-03-30 05:17:16 -04:00
tteckster 8d5e6aedd4
Update homepage-install.sh
Change the installation method from using git to using releases.
2023-03-30 05:09:03 -04:00
93 changed files with 7 additions and 92 deletions

View File

@ -78,7 +78,6 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -81,7 +81,6 @@ function update_script() {
done done
} }
ssh_check
start start
build_container build_container
description description

View File

@ -75,7 +75,6 @@ function update_script() {
done done
} }
ssh_check
start start
build_container build_container
description description

View File

@ -88,7 +88,6 @@ function update_script() {
done done
} }
ssh_check
start start
build_container build_container
description description

View File

@ -81,7 +81,6 @@ function update_script() {
done done
} }
ssh_check
start start
build_container build_container
description description

View File

@ -79,7 +79,6 @@ function update_script() {
done done
} }
ssh_check
start start
build_container build_container
description description

View File

@ -75,7 +75,6 @@ function update_script() {
done done
} }
ssh_check
start start
build_container build_container
description description

View File

@ -63,7 +63,6 @@ exit;
fi fi
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -71,7 +71,6 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,7 +61,6 @@ msg_ok "Updated ${APP} LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,7 +60,6 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -100,7 +100,6 @@ exit
fi fi
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -86,7 +86,6 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,7 +61,6 @@ msg_ok "Updated $APP LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,7 +61,6 @@ msg_ok "Updated ${APP} LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -71,7 +71,6 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -68,7 +68,6 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,7 +61,6 @@ msg_ok "Updated $APP LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,7 +61,6 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,7 +60,6 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -140,7 +140,6 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -207,7 +207,6 @@ EOF
fi fi
} }
ssh_check
start start
build_container build_container
description description

View File

@ -128,7 +128,6 @@ WantedBy=default.target" >$service_path
fi fi
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,7 +61,6 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -67,7 +67,6 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -84,7 +84,6 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -62,7 +62,6 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,7 +61,6 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,7 +61,6 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,7 +60,6 @@ msg_ok "Updated ${APP} LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,7 +61,6 @@ msg_ok "Updated ${APP} LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,7 +61,6 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -62,7 +62,6 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -63,7 +63,6 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,7 +61,6 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,7 +61,6 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,7 +60,6 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,7 +61,6 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,7 +61,6 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -71,7 +71,6 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,7 +61,6 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -172,7 +172,6 @@ EOF
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -63,7 +63,6 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -96,7 +96,6 @@ exit
fi fi
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,7 +61,6 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -62,7 +62,6 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -62,7 +62,6 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -132,7 +132,6 @@ EOF
fi fi
} }
ssh_check
start start
build_container build_container
description description

View File

@ -86,7 +86,6 @@ function update_script() {
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,7 +61,6 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -71,7 +71,6 @@ exit
fi fi
} }
ssh_check
start start
build_container build_container
description description

View File

@ -111,7 +111,6 @@ exit
fi fi
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,7 +61,6 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,7 +61,6 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,7 +61,6 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,7 +61,6 @@ msg_ok "Updated ${APP} LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,7 +61,6 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -66,7 +66,6 @@ msg_ok "Updated $APP"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -62,7 +62,6 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -64,7 +64,6 @@ msg_ok "Updated Shinobi LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -62,7 +62,6 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -70,7 +70,6 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,7 +60,6 @@ msg_ok "Updated ${APP} LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -80,7 +80,6 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,7 +60,6 @@ msg_ok "Updated ${APP} LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,7 +60,6 @@ msg_ok "Updated ${APP} LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,7 +61,6 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -78,7 +78,6 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -131,7 +131,6 @@ function update_script() {
fi fi
} }
ssh_check
start start
build_container build_container
description description

View File

@ -61,7 +61,6 @@ msg_ok "Updated $APP LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,7 +60,6 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -83,7 +83,6 @@ msg_ok "Update Successfull"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -115,7 +115,6 @@ exit
fi fi
} }
ssh_check
start start
build_container build_container
description description

View File

@ -60,7 +60,6 @@ msg_ok "Updated $APP LXC"
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -126,7 +126,6 @@ function update_script() {
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -78,7 +78,6 @@ function update_script() {
exit exit
} }
ssh_check
start start
build_container build_container
description description

View File

@ -30,7 +30,12 @@ $STD npm install -g pnpm
msg_ok "Installed Node.js" msg_ok "Installed Node.js"
msg_info "Installing Homepage (Patience)" msg_info "Installing Homepage (Patience)"
$STD git clone https://github.com/benphelps/homepage.git /opt/homepage RELEASE=$(curl -s https://api.github.com/repos/benphelps/homepage/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
wget -q https://github.com/benphelps/homepage/archive/refs/tags/v${RELEASE}.tar.gz
$STD tar -xvf v${RELEASE}.tar.gz
mkdir -p /opt/homepage
cp -r homepage-${RELEASE}/* /opt/homepage
rm -rf v${RELEASE}.tar.gz homepage-${RELEASE}
cd /opt/homepage cd /opt/homepage
mkdir -p config mkdir -p config
cp /opt/homepage/src/skeleton/* /opt/homepage/config cp /opt/homepage/src/skeleton/* /opt/homepage/config

View File

@ -342,6 +342,7 @@ advanced_settings() {
} }
install_script() { install_script() {
ssh_check
arch_check arch_check
pve_check pve_check
NEXTID=$(pvesh get /cluster/nextid) NEXTID=$(pvesh get /cluster/nextid)