mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
fix(xpadneo, xone, xpad-noone): Actually fix update scripts (#3845)
* 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>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
let c = sh("cat anda/system/xone/kmod-common/xone.spec | grep '%global commit' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout;
|
||||
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() {
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
%global commit 6b9d59aed71f6de543c481c33df4705d4a590a31
|
||||
%global commitdate 20241223
|
||||
%global commitdate 20241223
|
||||
%global commitdate 20241223
|
||||
%global commitdate 20241223
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commitdate 20241223
|
||||
%global ver 0.3
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
%global commit 6b9d59aed71f6de543c481c33df4705d4a590a31
|
||||
%global commitdate 20241223
|
||||
%global commitdate 20241223
|
||||
%global commitdate 20241223
|
||||
%global commitdate 20241223
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commitdate 20241223
|
||||
%global ver 0.3
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
let c = sh("cat anda/system/xone/kmod-common/xone.spec | grep '%global commit' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout;
|
||||
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 commit_date' | sed -E 's/.+commit_date //'", #{"stdout": "piped"}).ctx.stdout;
|
||||
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("commit_date", d);
|
||||
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);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
let c = sh("cat anda/system/xpad-noone/kmod-common/xpad-noone.spec | grep '%global commit' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout;
|
||||
let c = sh("cat anda/system/xpad-noone/kmod-common/xpad-noone.spec | grep '%global commit ' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout;
|
||||
c.pop();
|
||||
rpm.global("commit", c);
|
||||
if rpm.changed() {
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
%global commit 6970c40930bedd8b58d0764894e0d5f04813b7c5
|
||||
%global commitdate 20240109
|
||||
%global commitdate 20240109
|
||||
%global commitdate 20240109
|
||||
%global commitdate 20240109
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commitdate 20240109
|
||||
%global ver 1.0
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
%global commit 6970c40930bedd8b58d0764894e0d5f04813b7c5
|
||||
%global commitdate 20240109
|
||||
%global commitdate 20240109
|
||||
%global commitdate 20240109
|
||||
%global commitdate 20240109
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commitdate 20240109
|
||||
%global ver 1.0
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
let c = sh("cat anda/system/xpad-noone/kmod-common/xpad-noone.spec | grep '%global commit' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout;
|
||||
let c = sh("cat anda/system/xpad-noone/kmod-common/xpad-noone.spec | grep '%global commit ' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout;
|
||||
c.pop();
|
||||
rpm.global("commit", c);
|
||||
if rpm.changed() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
let c = sh("cat anda/system/xpadneo/kmod-common/xpadneo.spec | grep '%global commit' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout;
|
||||
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() {
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
%global commit 8d20a23e38883f45c78f48c8574ac93945b4cb03
|
||||
%global commitdate 20241224
|
||||
%global commitdate 20241224
|
||||
%global commitdate 20241224
|
||||
%global commitdate 20241224
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commitdate 20241224
|
||||
%global ver 0.9.7
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
%global commit 8d20a23e38883f45c78f48c8574ac93945b4cb03
|
||||
%global commitdate 20241224
|
||||
%global commitdate 20241224
|
||||
%global commitdate 20241224
|
||||
%global commitdate 20241224
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commitdate 20241224
|
||||
%global ver 0.9.7
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
let c = sh("cat anda/system/xpadneo/kmod-common/xpadneo.spec | grep '%global commit' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout;
|
||||
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() {
|
||||
|
||||
Reference in New Issue
Block a user