Skip to content

Commit

Permalink
Added symlink
Browse files Browse the repository at this point in the history
  • Loading branch information
nikarh committed Jan 2, 2024
1 parent bf2a5d8 commit 7df17e9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions system/hooks/pacman/pre.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ function pkg {
}

function pkg-local {
local package="$(cat "$1/PKGBUILD" | grep pkgname | awk -F'=' '{print $2}')"
local current_version="$(cat "$1/PKGBUILD" | grep 'pkgver\|pkgrel' | tr -d '\n' | sed -r 's/pkgver=(.*)pkgrel=(.*)/\1-\2/')"
local package="$(cat "$1/PKGBUILD" | grep ^pkgname | awk -F'=' '{print $2}')"
local current_version="$(cat "$1/PKGBUILD" | grep '^\(pkgver\|pkgrel\)' | tr -d '\n' | sed -r 's/pkgver=(.*)pkgrel=(.*)/\1-\2/')"
local installed=$(pacman -Q "$package" 2> /dev/null)
local installed_version=$(echo $installed | awk '{ print $2 }')

Expand Down
2 changes: 1 addition & 1 deletion system/modules/common/gaming/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sudo cp -ufrT "$ROOT/root/" /
pkg cemu joystickwake gamemode mangohud

pkg-local "$ROOT/pkg/wine-nvcuda"
pkg-local "$ROOT/pkg/brie"
pkg-local "$ROOT/pkg/brie-bin"

if [ -n "$ARGS_streaming" ]; then
# Game streaming
Expand Down
1 change: 1 addition & 0 deletions system/modules/common/gaming/pkg/brie-bin
1 change: 0 additions & 1 deletion system/modules/common/gaming/pkg/play.sh

This file was deleted.

0 comments on commit 7df17e9

Please sign in to comment.