mirror of
				https://github.com/tteck/Proxmox.git
				synced 2025-10-30 18:39:10 +00:00 
			
		
		
		
	Update post-pbs-install.sh
This commit is contained in:
		
							parent
							
								
									1d6aaca35a
								
							
						
					
					
						commit
						77a16af2c2
					
				| @ -94,7 +94,7 @@ fi | |||||||
| read -r -p "Disable Subscription Nag? <y/N> " prompt | read -r -p "Disable Subscription Nag? <y/N> " prompt | ||||||
| if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then | if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then | ||||||
|     msg_info "Disabling Subscription Nag" |     msg_info "Disabling Subscription Nag" | ||||||
|     echo "DPkg::Post-Invoke { \"dpkg -V proxmox-widget-toolkit | grep -q '/proxmoxlib\.js$'; if [ \$? -eq 1 ]; then { echo 'Removing subscription nag from UI...'; sed -i '/data.status/{s/\!//;s/active/NoMoreNagging/}' /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js; }; fi\"; };" >/etc/apt/apt.conf.d/no-nag-script |     echo "DPkg::Post-Invoke { \"dpkg -V proxmox-widget-toolkit | grep -q '/proxmoxlib\.js$'; if [ \$? -eq 1 ]; then { echo 'Removing subscription nag from UI...'; sed -i '/data.status/{s/\!//;s/Active/NoMoreNagging/}' /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js; }; fi\"; };" >/etc/apt/apt.conf.d/no-nag-script | ||||||
|     apt --reinstall install proxmox-widget-toolkit &>/dev/null |     apt --reinstall install proxmox-widget-toolkit &>/dev/null | ||||||
|     msg_ok "Disabled Subscription Nag" |     msg_ok "Disabled Subscription Nag" | ||||||
| fi | fi | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user