fix restic update
This commit is contained in:
parent
5142021197
commit
cfba2b2031
1 changed files with 4 additions and 5 deletions
|
@ -42,11 +42,10 @@ printf ""$font_colored"> removing orphaned packages..."$font_default"\n"
|
||||||
printf ""$font_colored"> removing \"no valid subscription\" message..."$font_default"\n"
|
printf ""$font_colored"> removing \"no valid subscription\" message..."$font_default"\n"
|
||||||
sed -i.bak "s/data.status.* !== 'ACTIVE'/false/I" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
|
sed -i.bak "s/data.status.* !== 'ACTIVE'/false/I" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
|
||||||
|
|
||||||
|
if [[ "$(which restic &> /dev/null)" ]]; then
|
||||||
printf ""$font_colored"> updating restic..."$font_default"\n"
|
printf ""$font_colored"> updating restic..."$font_default"\n"
|
||||||
restic self-update
|
restic self-update
|
||||||
|
fi
|
||||||
#printf ""$font_colored"> installing dark theme..."$font_default"\n"
|
|
||||||
#bash <(curl -s https://raw.githubusercontent.com/Weilbyte/PVEDiscordDark/master/PVEDiscordDark.sh ) install
|
|
||||||
|
|
||||||
printf ""$font_colored_bold">> system updated finished after "$SECONDS" seconds!"$font_default"\n"
|
printf ""$font_colored_bold">> system updated finished after "$SECONDS" seconds!"$font_default"\n"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue