mirror of https://github.com/tteck/Proxmox.git
Compare commits
No commits in common. "014b2dab554a8dcfc9962d81d2beb8696e86c5c6" and "8e9ea1bd3c4c80dd7e69ffb7b801cee643224281" have entirely different histories.
014b2dab55
...
8e9ea1bd3c
|
@ -6,7 +6,7 @@ body:
|
|||
value: |
|
||||
**IMPORTANT:** Failure to comply with the following guidelines may result in immediate closure.
|
||||
- Prior to submitting, kindly search the closed issues to check if the problem you are reporting has already been addressed and resolved. If you come across a closed issue that pertains to your problem, please leave a comment on that issue instead of creating a new one.
|
||||
- Switching Linux distributions without verifying that the default distribution is working correctly.
|
||||
- Changing Linux distributions without confirming the proper functioning of default settings.
|
||||
- When encountering the error message `[ERROR] in line 24: exit code *: while executing command "$@" > /dev/null 2>&1`, make sure to run the script in verbose mode to accurately determine the underlying issue.
|
||||
- For suggestions, questions or feature/script requests, please share them in the [Discussions section.](https://github.com/tteck/Proxmox/discussions)
|
||||
- type: input
|
||||
|
|
|
@ -53,16 +53,10 @@ function default_settings() {
|
|||
function update_script() {
|
||||
header_info
|
||||
if [[ ! -d /opt/rdtc/ ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
||||
msg_info "Updating $APP"
|
||||
systemctl stop rdtc
|
||||
mkdir -p rdtc-backup
|
||||
cp -R /opt/rdtc/appsettings.json rdtc-backup/
|
||||
wget -q https://github.com/rogerfar/rdt-client/releases/latest/download/RealDebridClient.zip
|
||||
unzip -oqq RealDebridClient.zip -d /opt/rdtc
|
||||
cp -R rdtc-backup/appsettings.json /opt/rdtc/
|
||||
rm -rf rdtc-backup RealDebridClient.zip
|
||||
systemctl start rdtc
|
||||
msg_ok "Updated $APP"
|
||||
msg_info "Updating $APP LXC"
|
||||
apt-get update &>/dev/null
|
||||
apt-get -y upgrade &>/dev/null
|
||||
msg_ok "Updated $APP LXC"
|
||||
exit
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue