|
|
@ -74,7 +74,7 @@ case $BASH_VERSION in |
|
|
echo "You need to update 'bash' to at least version 2.05b." |
|
|
echo "You need to update 'bash' to at least version 2.05b." |
|
|
found_error=1 |
|
|
found_error=1 |
|
|
esac |
|
|
esac |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
x="`mktemp -p /tmp 2> /dev/null`" |
|
|
x="`mktemp -p /tmp 2> /dev/null`" |
|
|
if [ -z "$x" -o ! -f "$x" ] ; then |
|
|
if [ -z "$x" -o ! -f "$x" ] ; then |
|
|
@ -87,6 +87,15 @@ else |
|
|
rm -f "$x" |
|
|
rm -f "$x" |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
if [ -z "`type -p sed`" ] || ! sed -i s/a/b/ < /dev/null 2> /dev/null |
|
|
|
|
|
then |
|
|
|
|
|
echo |
|
|
|
|
|
echo "Paranoia Check: Program 'sed' not found or too old!" |
|
|
|
|
|
echo "You need a 'sed' installed which does know about the -i option" |
|
|
|
|
|
echo "(GNU/sed since 2001-09-25). Install the latest sed version." |
|
|
|
|
|
found_error=1 |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
if [ $found_error -ne 0 ] ; then |
|
|
if [ $found_error -ne 0 ] ; then |
|
|
echo |
|
|
echo |
|
|
echo "Paranoia Check found errors -> not doing anything." |
|
|
echo "Paranoia Check found errors -> not doing anything." |
|
|
|