Open levid0s opened 5 months ago
You could add the following sed command to automatically patch the file without having to open it in an editor:
sed
sed -z -i 's/Ext.Msg.show({\n\s*title: gettext(\x27No valid subscription\x27),/void({\n title: gettext(\x27No valid subscription\x27),/g' proxmoxlib.js
I would create a .bak file and group:
sed -z -i.bak 's/Ext.Msg.show\(({\n\s*title: gettext(\x27No valid subscription\x27)\),/void\1,/g' /usr/share/javascript/proxmox-widget-toolkit\proxmoxlib.js
You could add the following
sed
command to automatically patch the file without having to open it in an editor: