Update post-pve-install.sh (#7598)

Create directory if it doesn't exist.
This commit is contained in:
rell3k 2025-09-12 14:20:06 -04:00 committed by GitHub
parent aeb15c7ea1
commit 719c55655d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -515,6 +515,7 @@ post_routines_common() {
whiptail --backtitle "Proxmox VE Helper Scripts" --msgbox --title "Support Subscriptions" "Supporting the software's development team is essential. Check their official website's Support Subscriptions for pricing. Without their dedicated work, we wouldn't have this exceptional software." 10 58 whiptail --backtitle "Proxmox VE Helper Scripts" --msgbox --title "Support Subscriptions" "Supporting the software's development team is essential. Check their official website's Support Subscriptions for pricing. Without their dedicated work, we wouldn't have this exceptional software." 10 58
msg_info "Disabling subscription nag" msg_info "Disabling subscription nag"
# Create external script, this is needed because DPkg::Post-Invoke is fidly with quote interpretation # Create external script, this is needed because DPkg::Post-Invoke is fidly with quote interpretation
mkdir -p /usr/local/bin
cat >/usr/local/bin/pve-remove-nag.sh <<'EOF' cat >/usr/local/bin/pve-remove-nag.sh <<'EOF'
#!/bin/sh #!/bin/sh
WEB_JS=/usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js WEB_JS=/usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js