ports/sysutils/nitrogen/files/patch-data-icon-theme-installer
Pawel Pekala 6e5d381748 - Update to version 1.5.2
- Convert to optionsNG
- Mark MAKE_JOBS_SAFE
- Update projects homepage

While I'm here:
- Add missing deps
- Install desktop entry file

PR:		ports/172068
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
Feature safe:	yes
2012-11-09 22:01:27 +00:00

23 lines
778 B
Text

--- data/icon-theme-installer.orig 2007-08-07 07:20:48.000000000 +0900
+++ data/icon-theme-installer 2012-09-25 01:26:45.000000000 +0900
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!%%LOCALBASE%%/bin/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 test ! -x $(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 test ! -x $(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