diff --git a/system/hooks/pacman/pre.sh b/system/hooks/pacman/pre.sh index f4703ceb..93b60fad 100644 --- a/system/hooks/pacman/pre.sh +++ b/system/hooks/pacman/pre.sh @@ -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 }') diff --git a/system/modules/common/gaming/install.sh b/system/modules/common/gaming/install.sh index a11e1a63..27c24567 100755 --- a/system/modules/common/gaming/install.sh +++ b/system/modules/common/gaming/install.sh @@ -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 diff --git a/system/modules/common/gaming/pkg/brie-bin b/system/modules/common/gaming/pkg/brie-bin new file mode 120000 index 00000000..fb57f30e --- /dev/null +++ b/system/modules/common/gaming/pkg/brie-bin @@ -0,0 +1 @@ +../../../../../dotfiles-tools/brie-bin/ \ No newline at end of file diff --git a/system/modules/common/gaming/pkg/play.sh b/system/modules/common/gaming/pkg/play.sh deleted file mode 120000 index 4cff24ae..00000000 --- a/system/modules/common/gaming/pkg/play.sh +++ /dev/null @@ -1 +0,0 @@ -../../../../../dotfiles-tools/play.sh \ No newline at end of file