mirror of https://github.com/tteck/Proxmox.git
Compare commits
No commits in common. "1ccb2de7f6d68e2c0f0b3e341c88ee26eb0aef5f" and "55175f9b315372cf961be494c9125f0bfaacbf0d" have entirely different histories.
1ccb2de7f6
...
55175f9b31
|
@ -10,13 +10,6 @@
|
||||||
- All LXC instances created using this repository come pre-installed with Midnight Commander, which is a command-line tool (`mc`) that offers a user-friendly file and directory management interface for the terminal environment.
|
- All LXC instances created using this repository come pre-installed with Midnight Commander, which is a command-line tool (`mc`) that offers a user-friendly file and directory management interface for the terminal environment.
|
||||||
- 🚨 **The scripts in the repository will no longer provide support for Proxmox VE 7 starting from July 2024 (scripts will not execute on PVE7). Subsequent <a href='https://forum.proxmox.com/threads/proxmox-ve-support-lifecycle.35755/' target='_blank' rel='noopener noreferrer'>Proxmox VE - Support Lifecycle</a>**
|
- 🚨 **The scripts in the repository will no longer provide support for Proxmox VE 7 starting from July 2024 (scripts will not execute on PVE7). Subsequent <a href='https://forum.proxmox.com/threads/proxmox-ve-support-lifecycle.35755/' target='_blank' rel='noopener noreferrer'>Proxmox VE - Support Lifecycle</a>**
|
||||||
|
|
||||||
## 2024-04-09
|
|
||||||
|
|
||||||
### Changed
|
|
||||||
|
|
||||||
- **PairDrop LXC**
|
|
||||||
- Add back to website
|
|
||||||
|
|
||||||
## 2024-04-05
|
## 2024-04-05
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
|
@ -55,31 +55,21 @@ function default_settings() {
|
||||||
function update_script() {
|
function update_script() {
|
||||||
header_info
|
header_info
|
||||||
if [[ ! -d /opt/linkwarden ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
if [[ ! -d /opt/linkwarden ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
||||||
|
msg_info "Updating $APP"
|
||||||
RELEASE=$(curl -s https://api.github.com/repos/linkwarden/linkwarden/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
|
systemctl stop linkwarden
|
||||||
if [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f /opt/${APP}_version.txt ]]; then
|
cd /opt/linkwarden
|
||||||
msg_info "Stopping ${APP}"
|
if git pull | grep -q 'Already up to date'; then
|
||||||
systemctl stop linkwarden
|
msg_ok "Already up to date"
|
||||||
msg_ok "Stopped ${APP}"
|
|
||||||
|
|
||||||
msg_info "Updating ${APP} to ${RELEASE}"
|
|
||||||
cd /opt/linkwarden
|
|
||||||
git pull
|
|
||||||
yarn
|
|
||||||
npx playwright install-deps
|
|
||||||
yarn prisma generate
|
|
||||||
yarn build
|
|
||||||
yarn prisma migrate deploy
|
|
||||||
echo "${RELEASE}" >/opt/${APP}_version.txt
|
|
||||||
msg_ok "Updated ${APP} to ${RELEASE}"
|
|
||||||
|
|
||||||
msg_info "Starting ${APP}"
|
|
||||||
systemctl start linkwarden
|
systemctl start linkwarden
|
||||||
msg_ok "Started ${APP}"
|
exit
|
||||||
msg_ok "Updated Successfully"
|
|
||||||
else
|
|
||||||
msg_ok "No update required. ${APP} is already at ${RELEASE}."
|
|
||||||
fi
|
fi
|
||||||
|
git pull
|
||||||
|
yarn
|
||||||
|
npx playwright install-deps
|
||||||
|
yarn build
|
||||||
|
yarn prisma migrate deploy
|
||||||
|
systemctl start linkwarden
|
||||||
|
msg_ok "Updated $APP"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue