mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-14 07:30:38 +00:00
46eb0c0bd5
* Remove weirdness Signed-off-by: Gilver <rockgrub@disroot.org> * Add space Signed-off-by: Gilver <rockgrub@disroot.org> * Add space Signed-off-by: Gilver <rockgrub@disroot.org> * Remove extra macros Signed-off-by: Gilver <rockgrub@disroot.org> * Somehow this wasn't updated Signed-off-by: Gilver <rockgrub@disroot.org> * Update update.rhai Signed-off-by: Gilver <rockgrub@disroot.org> * Update update.rhai Signed-off-by: Gilver <rockgrub@disroot.org> * Update update.rhai Signed-off-by: Gilver <rockgrub@disroot.org> * Update update.rhai Signed-off-by: Gilver <rockgrub@disroot.org> * Update update.rhai Signed-off-by: Gilver <rockgrub@disroot.org> * Update dkms-xpad-noone.spec Signed-off-by: Gilver <rockgrub@disroot.org> * Update xpad-noone-kmod.spec Signed-off-by: Gilver <rockgrub@disroot.org> * Update dkms-xpadneo.spec Signed-off-by: Gilver <rockgrub@disroot.org> * Update xpadneo-kmod.spec Signed-off-by: Gilver <rockgrub@disroot.org> --------- Signed-off-by: Gilver <rockgrub@disroot.org>
14 lines
609 B
Plaintext
14 lines
609 B
Plaintext
let c = sh("cat anda/system/xpadneo/kmod-common/xpadneo.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/xpadneo/kmod-common/xpadneo.spec | grep '%global commitdate' | sed -E 's/.+commitdate //'", #{"stdout": "piped"}).ctx.stdout;
|
|
d.pop();
|
|
rpm.global("commitdate", d);
|
|
let v = sh("cat anda/system/xpadneo/kmod-common/xpadneo.spec | grep '%global ver' | sed -E 's/.+ver //'", #{"stdout": "piped"}).ctx.stdout;
|
|
v.pop();
|
|
rpm.global("ver", v);
|
|
}
|
|
|