Change-Id: I01421d939290a2d0acd43e6cafa296e318c536b4
sdb shell "rpm -ivh --force /tmp/$filename"
if [ -z "$3" ]; then
- sdb shell "sed -i -e 's/\(path=\).*/\1"${3//\//\\/}"/' ${conf_file}"
-else
echo "No argument for Device ID"
+else
+ sdb shell "sed -i -e 's/\(path=\).*/\1"${3//\//\\/}"/' ${conf_file}"
fi
if [ -z "$4" ]; then
- sdb shell "sed -i -e 's/\(address=\).*/\1"${4//\//\\/}"/' ${conf_file}"
-else
echo "No argument for Web API URL"
+else
+ sdb shell "sed -i -e 's/\(address=\).*/\1"${4//\//\\/}"/' ${conf_file}"
fi
sdb shell pkg_initdb --ro