Fixes for srvman

used zip directly from the website
added hash
fixed checkver
This commit is contained in:
Sergey 2016-12-15 01:37:38 +03:00 committed by GitHub
parent a9a9b1e7d9
commit be34d9f92f

View File

@ -1,20 +1,20 @@
{
"homepage": "http://tools.sysprogs.org/srvman/",
"version": "1.0",
"url": "http://sysprogs.com/files/srvman/srvman-1.0.zip",
"hash": "7f0075c5b544af189416845077a45edeedd1d48e37e702abb22b41b120e80bcd",
"architecture": {
"64bit": {
"url": "https://raw.githubusercontent.com/deepakSP/srvman/master/x64/srvman.exe"
"extract_dir": "x64"
},
"32bit": {
"url": "https://raw.githubusercontent.com/deepakSP/srvman/master/x86/srvman.exe"
"extract_dir": "x86"
}
},
"bin": [
"srvman.exe",
["srvman.exe", "service"]
],
"checkver": "Current Release: Version ([0-9\\.]+)",
"notes": "Always use sudo to start, stop or edit ig. [ sudo srvman start nginx or sudo service restart apache ].
Visit http://tools.sysprogs.org/srvman/ for more info"
"checkver": "The latest version[^<]+<a href=\"[^\"]+srvman-([\\d.]+)\\.zip\"",
"notes": "Always use sudo to start, stop or edit (e.g., 'sudo srvman start nginx' or 'sudo service restart apache').\nVisit http://tools.sysprogs.org/srvman/ for more info"
}