fe4b9beae7
Added support code for comfortable writing of upstream data update expressions that do not require change of layout of the updated expressions (although they make assumptions about single assignment per line). Also added a default for choosing file to update (it is supposed to be default.nix in the same directory) and a one-liner for typical sourceforge redirects (and sourceforge mirror:// handling).
5 lines
127 B
Bash
5 lines
127 B
Bash
SF_redirect () {
|
|
redirect
|
|
process 'http://[a-z]+[.]dl[.]sourceforge[.]net/' 'mirror://sourceforge/'
|
|
process '[?].*' ''
|
|
}
|