| 314 if [ ".$user" = . ]; then |
314 if [ ".$user" = . ]; then |
| 315 echo "openpkg:rc:ERROR: unable to determine current username" 1>&2 |
315 echo "openpkg:rc:ERROR: unable to determine current username" 1>&2 |
| 316 exit 1 |
316 exit 1 |
| 317 fi |
317 fi |
| 318 |
318 |
| 319 # just call OpenPKG RPM to let it once perform the run-time integrity checks |
319 # Avoid handing control to OpenPKG binary logic until |
| 320 $prefix/bin/openpkg rpm -q openpkg >/dev/null || exit $? |
320 # the binary is is ready for prime time on all platforms. |
| |
321 ## just call OpenPKG RPM to let it once perform the run-time integrity checks |
| |
322 #$prefix/bin/openpkg rpm -q openpkg >/dev/null || exit $? |
| 321 |
323 |
| 322 # iterate over the specified commands |
324 # iterate over the specified commands |
| 323 rv=0 |
325 rv=0 |
| 324 cmds="$*" |
326 cmds="$*" |
| 325 for cmd in $cmds; do |
327 for cmd in $cmds; do |