aboutsummaryrefslogtreecommitdiff
path: root/print/hplip3/files/patch-configure
blob: 22f040c1d5c1c285413f4353962c2b4fe7c1bb46 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
--- configure.bak	Fri May  5 10:01:57 2006
+++ configure	Fri May  5 10:03:39 2006
@@ -22100,29 +22100,9 @@
 echo "$as_me:$LINENO: result: \"using $CUPS_BACKEND_PATH\"" >&5
 echo "${ECHO_T}\"using $CUPS_BACKEND_PATH\"" >&6
 
-ICONSEARCHPATH="/usr/lib/menu /usr/share/applications"
-ICON="hplip hplip.desktop"
+ICON_PATH="/usr/share/applications"
+ICON_FILE="hplip.desktop"
 
-echo "$as_me:$LINENO: checking \"for icon directory\"" >&5
-echo $ECHO_N "checking \"for icon directory\"... $ECHO_C" >&6
-ICON_PATH=""
-ICON_FILE=""
-idx=1
-for i in $ICONSEARCHPATH; do
-   if test -d "$i"; then
-      ICON_PATH="$i"
-      jdx=1
-      for j in $ICON; do
-         if test "$jdx" = "$idx"; then
-            break
-         fi
-         jdx=$jdx+1
-      done
-      ICON_FILE="$j"
-      break
-   fi
-   idx=$idx+1
-done
 if test "$ICON_PATH" != ""; then
    echo "$as_me:$LINENO: result: \"using $ICON_PATH/$ICON_FILE\"" >&5
 echo "${ECHO_T}\"using $ICON_PATH/$ICON_FILE\"" >&6