From f3be4bf57e5a1ea08191901c2cd17aca257d89cb Mon Sep 17 00:00:00 2001 From: "Michael Mair-Keimberger (asterix)" Date: Mon, 6 Feb 2017 17:57:04 +0100 Subject: sys-boot/refind: remove unused patch --- .../refind/files/0.10.0-refind-install-symlink.patch | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 sys-boot/refind/files/0.10.0-refind-install-symlink.patch (limited to 'sys-boot') diff --git a/sys-boot/refind/files/0.10.0-refind-install-symlink.patch b/sys-boot/refind/files/0.10.0-refind-install-symlink.patch deleted file mode 100644 index 868bc86962ba..000000000000 --- a/sys-boot/refind/files/0.10.0-refind-install-symlink.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff --git a/refind-install b/refind-install -index 0f4accd..07f2b35 100755 ---- a/refind-install -+++ b/refind-install -@@ -1168,7 +1168,13 @@ InstallOnLinux() { - # install under OS X or Linux, depending on the detected platform. - # - GetParams "$@" --ThisDir="$( cd -P "${BASH_SOURCE%/*}" && pwd )" -+ThisScript="${BASH_SOURCE[0]}" -+while [ -h "$ThisScript" ]; do -+ ThisDir="$( cd -P "$( dirname "$ThisScript" )" && pwd )" -+ ThisScript="$(readlink "$ThisScript")" -+ [[ $ThisScript != /* ]] && ThisScript="$ThisDir/$ThisScript" -+done -+ThisDir="$( cd -P "$( dirname "$ThisScript" )" && pwd )" - RefindDir="$ThisDir/refind" - if [[ $UID != 0 ]] ; then - echo "Not running as root; attempting to elevate privileges via sudo...." -- cgit v1.2.3-18-g5258