diff options
Diffstat (limited to 'graphics/f-spot/files/patch-icon-theme-installer')
| -rw-r--r-- | graphics/f-spot/files/patch-icon-theme-installer | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/graphics/f-spot/files/patch-icon-theme-installer b/graphics/f-spot/files/patch-icon-theme-installer new file mode 100644 index 000000000000..ff3ded394217 --- /dev/null +++ b/graphics/f-spot/files/patch-icon-theme-installer @@ -0,0 +1,26 @@ + +$FreeBSD$ + +--- icon-theme-installer.orig ++++ icon-theme-installer +@@ -1,4 +1,4 @@ +-#!/bin/bash ++#!/usr/bin/env bash + + # icon-theme-installer + # Copyright (C) 2006 Novell, Inc. +@@ -101,12 +101,12 @@ + exit 1 + fi + +-if test ! -x $(echo "$MKINSTALLDIRS_EXEC" | cut -f1 -d' '); then ++if ! which $(echo "$MKINSTALLDIRS_EXEC" | cut -f1 -d' '); then + echo "Cannot find '$MKINSTALLDIRS_EXEC'; You probably want to pass -m \$(mkinstalldirs)" + exit 1 + fi + +-if test ! -x $(echo "$INSTALL_DATA_EXEC" | cut -f1 -d' '); then ++if ! which $(echo "$INSTALL_DATA_EXEC" | cut -f1 -d' '); then + echo "Cannot find '$INSTALL_DATA_EXEC'; You probably want to pass -x \$(INSTALL_DATA)" + exit 1 + fi |
