make ybin happy with nvsetenv

This commit is contained in:
David Woodhouse 2007-12-03 03:16:36 +00:00
parent 2f976deecf
commit e453296b1b
2 changed files with 8 additions and 1 deletions

View File

@ -1,5 +1,9 @@
#!/bin/sh
if [ "$1" = "--version" ]; then
echo This version of nvsetenv is just a wrapper to invoke nvram
exit 0
fi
if [ -z "$1" ]; then
nvram --print-config
elif [ -z "$2" ]; then

View File

@ -1,6 +1,6 @@
Name: powerpc-utils
Version: 1.0.6
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Utilities for PowerPC platforms
Group: System Environment/Base
@ -49,5 +49,8 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Mon Dec 3 2007 David Woodhouse <dwmw2@redhat.com> 1.0.6-2
- Add --version to nvsetenv, for ybin compatibility
* Fri Nov 23 2007 David Woodhouse <dwmw2@redhat.com> 1.0.6-1
- New package, split from ppc64-utils