|
|
|
|
@ -39,8 +39,8 @@
|
|
|
|
|
# o any cc(1) |
|
|
|
|
|
|
|
|
|
# the package version and release |
|
|
|
|
%define V_openpkg 20020826 |
|
|
|
|
%define R_openpkg 20020826 |
|
|
|
|
%define V_openpkg 20020829 |
|
|
|
|
%define R_openpkg 20020829 |
|
|
|
|
|
|
|
|
|
# the used software versions |
|
|
|
|
%define V_rpm 4.0.2 |
|
|
|
|
@ -1053,16 +1053,13 @@ Provides: OpenPKG
|
|
|
|
|
if [ -f /etc/debian_version ]; then |
|
|
|
|
sroot=/etc/init.d |
|
|
|
|
lroot=/etc/rc%d.d |
|
|
|
|
elif [ -f /etc/SuSE-release ]; then |
|
|
|
|
sroot=/sbin/init.d |
|
|
|
|
lroot=/sbin/init.d/rc%d.d |
|
|
|
|
elif [ -f /etc/redhat-release -o -f /etc/mandrake-release ]; then |
|
|
|
|
sroot=/etc/rc.d/init.d |
|
|
|
|
lroot=/etc/rc.d/rc%d.d |
|
|
|
|
else |
|
|
|
|
echo "WARNING: you are not running one of the supported standard" 1>&2 |
|
|
|
|
echo "WARNING: Linux platforms (Debian, SuSE, RedHat). We are" 1>&2 |
|
|
|
|
echo "WARNING: trying to guess the location of the system init scripts!" 1>&2 |
|
|
|
|
echo "WARNING: Linux platforms (Debian, RedHat). We are trying" 1>&2 |
|
|
|
|
echo "WARNING: to guess the location of the system init scripts!" 1>&2 |
|
|
|
|
sroot="" |
|
|
|
|
lroot="" |
|
|
|
|
for sr in /etc/rc.d/init.d /etc/init.d /sbin/init.d; do |
|
|
|
|
@ -1361,16 +1358,13 @@ Provides: OpenPKG
|
|
|
|
|
if [ -f /etc/debian_version ]; then |
|
|
|
|
sroot=/etc/init.d |
|
|
|
|
lroot=/etc/rc%d.d |
|
|
|
|
elif [ -f /etc/SuSE-release ]; then |
|
|
|
|
sroot=/sbin/init.d |
|
|
|
|
lroot=/sbin/init.d/rc%d.d |
|
|
|
|
elif [ -f /etc/redhat-release -o -f /etc/mandrake-release ]; then |
|
|
|
|
sroot=/etc/rc.d/init.d |
|
|
|
|
lroot=/etc/rc.d/rc%d.d |
|
|
|
|
else |
|
|
|
|
echo "WARNING: you are not running one of the supported standard" 1>&2 |
|
|
|
|
echo "WARNING: Linux platforms (Debian, SuSE, RedHat). We are" 1>&2 |
|
|
|
|
echo "WARNING: trying to guess the location of the system init scripts!" 1>&2 |
|
|
|
|
echo "WARNING: Linux platforms (Debian, RedHat). We are trying" 1>&2 |
|
|
|
|
echo "WARNING: to guess the location of the system init scripts!" 1>&2 |
|
|
|
|
sroot="" |
|
|
|
|
lroot="" |
|
|
|
|
for sr in /etc/rc.d/init.d /etc/init.d /sbin/init.d; do |
|
|
|
|
|