From 26b4c8f71f91d22e081b27814782686edde0c90a Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Fri, 1 Jan 2021 10:11:34 +0000 Subject: Revert r559792 to unbreak INDEX and bulk -a It seems a lot of reverse dependencies were missed With hat: portmgr --- editors/atom/files/patch-atom.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 editors/atom/files/patch-atom.sh (limited to 'editors/atom/files/patch-atom.sh') diff --git a/editors/atom/files/patch-atom.sh b/editors/atom/files/patch-atom.sh new file mode 100644 index 000000000000..9fa6334e5cc4 --- /dev/null +++ b/editors/atom/files/patch-atom.sh @@ -0,0 +1,20 @@ +--- atom.sh.orig 2019-05-22 03:44:37 UTC ++++ atom.sh +@@ -2,6 +2,8 @@ + + if [ "$(uname)" == 'Darwin' ]; then + OS='Mac' ++elif [ "$(uname)" == 'FreeBSD' ]; then ++ OS='FreeBSD' + elif [ "$(expr substr $(uname -s) 1 5)" == 'Linux' ]; then + OS='Linux' + else +@@ -149,7 +151,7 @@ if [ $OS == 'Mac' ]; then + else + open -a "$ATOM_PATH/$ATOM_APP_NAME" -n --args --executed-from="$(pwd)" --pid=$$ --path-environment="$PATH" "$@" + fi +-elif [ $OS == 'Linux' ]; then ++elif [ $OS == 'Linux' ] || [ $OS == 'FreeBSD' ]; then + SCRIPT=$(readlink -f "$0") + USR_DIRECTORY=$(readlink -f $(dirname $SCRIPT)/..) + -- cgit v1.2.3