From 6492ba6b4107a4da228e18db4fc5fc871bfb0579 Mon Sep 17 00:00:00 2001 From: epoch Date: Wed, 17 Aug 2022 21:34:02 -0500 Subject: updated README to show that everything that got deleted went to an -extras repo. also, hackvr script updated to be better bash --- bin/hackvr | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'bin') diff --git a/bin/hackvr b/bin/hackvr index 1c9d16c..bb0185e 100755 --- a/bin/hackvr +++ b/bin/hackvr @@ -1,9 +1,10 @@ -#!/bin/sh +#!/usr/bin/env bash +set -eo pipefail if [ "_$HACKVR" != "_" -a "_$HACKVR" != "_$0" ];then - exec $HACKVR $* + exec "$HACKVR" "$@" fi -if [ $DISPLAY ]; then - exec hackvr_x11 $* +if [ "$DISPLAY" ]; then + exec hackvr_x11 "$@" else - exec hackvr_fb $* + exec hackvr_fb "$@" fi -- cgit v1.2.3