summaryrefslogtreecommitdiff
path: root/lang/squeak-dev/files/patch-platforms__unix__config__inisqueak.in
blob: f756bee6026e97b20ae23127aa0ab882107e1b25 (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
--- platforms/unix/config/inisqueak.in.org	Mon Feb  6 15:10:05 2006
+++ platforms/unix/config/inisqueak.in	Mon Feb  6 15:10:58 2006
@@ -99,7 +99,7 @@
   exit 1
 }
 
-if ${test} \( -f squeak.image \) -a \( -f squeak.changes \) -a \( -e ${SOURCES} \)
+if ${test} \( -f squeak.image \) -a \( -e ${SOURCES} \)
 then
   if ${startup}; then
     if test ! -x ${SQUEAK}; then
@@ -200,7 +200,10 @@
 
 install "ln -s"      "${imgdir}/${SOURCES}" " " "${SOURCES}"
 install "gunzip -dc" "${imgdir}/${IMAGE}"   ">" "squeak.image"
-install "gunzip -dc" "${imgdir}/${CHANGES}" ">" "squeak.changes"
+# For SqueakPlugin.image which don't have changes file.
+if test -e "${imgdir}/${CHANGES}"; then
+  install "gunzip -dc" "${imgdir}/${CHANGES}" ">" "squeak.changes"
+fi
 
 if ${startup}; then
   if test ! -x ${SQUEAK}; then