浏览代码

fix msg-info to msg_info, typo caused script to quit

srappan 3 年之前
父节点
当前提交
46c5cbb99b
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      misc/post-install-v3.sh

+ 2 - 2
misc/post-install-v3.sh

@@ -98,10 +98,10 @@ fi
 read -r -p "Disable Subscription Nag? <Y/n> " prompt
 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
 apt --reinstall install proxmox-widget-toolkit &>/dev/null
-msg-ok "Disabled Subscription Nag"
+msg_ok "Disabled Subscription Nag"
 fi
 msg_ok "Finished....Please Update Proxmox"