Skip to content

Commit

Permalink
feat: add some missing update scripts (#3197)
Browse files Browse the repository at this point in the history
* chore: add update.rhai for switcheroo-control

Signed-off-by: Alberto García <[email protected]>

* chore: add update.rhai for kf6-kio

Signed-off-by: Alberto García <[email protected]>

* chore: add update.rhai for libva-nvidia-driver

Signed-off-by: Alberto García <[email protected]>

* fix: libva-nvidia-driver update script

Co-authored-by: madomado <[email protected]>
Signed-off-by: Alberto García <[email protected]>

* delete kf6-kio update script

Signed-off-by: Alberto García <[email protected]>

---------

Signed-off-by: Alberto García <[email protected]>
Co-authored-by: madomado <[email protected]>
  • Loading branch information
GarciaLnk and madonuko authored Feb 6, 2025
1 parent 95db3f6 commit f0e764a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions anda/apps/switcheroo-control/update.rhai
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rpm.version(gitlab("gitlab.freedesktop.org", "4339"));
8 changes: 8 additions & 0 deletions anda/system/nvidia/libva-nvidia-driver/update.rhai
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
rpm.global("commit0", gh_commit("elFarto/nvidia-vaapi-driver"));
if rpm.changed() {
let v = gh("elFarto/nvidia-vaapi-driver");
v.crop(1);
v += "%{!?tag:^%{date}git%{shortcommit0}}";
rpm.version(v);
rpm.global("date", date());
}

0 comments on commit f0e764a

Please sign in to comment.