blob: d513856be80fe9d0ace63bd0b426ddb0d3ae5477 (
plain)
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
|
$NetBSD: patch-bv,v 1.1 2007/03/04 13:11:20 hira Exp $
--- setup_native/scripts/linuxpatchscript.sh.orig 2007-03-04 21:42:59.000000000 +0900
+++ setup_native/scripts/linuxpatchscript.sh 2007-03-04 21:43:36.000000000 +0900
@@ -25,7 +25,7 @@
echo
read -p "Patching the installation in ${PRODUCTINSTALLLOCATION}. Continue (y/n) ? " -n 1 reply leftover
echo
-[ "$reply" == "y" ] || exit 1
+[ "$reply" = "y" ] || exit 1
echo
echo "About to update the following packages ..."
@@ -53,13 +53,13 @@
# Check, that $RPMLIST does not contain online update rpm (then it is already installed)
ONLINEPDATEINSTALLED=`grep onlineupdate ${RPMLIST}`
- if [ "x$ONLINEPDATEINSTALLED" == "x" ]; then
+ if [ "x$ONLINEPDATEINSTALLED" = "x" ]; then
# Ask user, if online update shall be installed
echo
read -p "Do you want to install the new online update feature (y/n) ? " -n 1 reply leftover
echo
- if [ "$reply" == "y" ]; then
+ if [ "$reply" = "y" ]; then
# Install the online update rpm
rpm --install -v --hash --prefix $PRODUCTINSTALLLOCATION --notriggers $ONLINEUPDATERPM
fi
|