mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-24 12:30:39 +00:00
73a2f3dbc1
* Remove weirdness
* Add space
* Add space
* Remove extra macros
* Somehow this wasn't updated
* Update update.rhai
* Update update.rhai
* Update update.rhai
* Update update.rhai
* Update update.rhai
* Update dkms-xpad-noone.spec
* Update xpad-noone-kmod.spec
* Update dkms-xpadneo.spec
* Update xpadneo-kmod.spec
---------
(cherry picked from commit 46eb0c0bd5)
Signed-off-by: Gilver <rockgrub@disroot.org>
Signed-off-by: RockGrub <RockGrub@users.noreply.github.com>
14 lines
591 B
Plaintext
14 lines
591 B
Plaintext
let c = sh("cat anda/system/xone/kmod-common/xone.spec | grep '%global commit ' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout;
|
|
c.pop();
|
|
rpm.global("commit", c);
|
|
if rpm.changed() {
|
|
rpm.release();
|
|
let d = sh("cat anda/system/xone/kmod-common/xone.spec | grep '%global commitdate' | sed -E 's/.+commitdate //'", #{"stdout": "piped"}).ctx.stdout;
|
|
d.pop();
|
|
rpm.global("commitdate", d);
|
|
let v = sh("cat anda/system/xone/kmod-common/xone.spec | grep '%global ver' | sed -E 's/.+ver //'", #{"stdout": "piped"}).ctx.stdout;
|
|
v.pop();
|
|
rpm.global("ver", v);
|
|
}
|
|
|