|
|
@@ -39,7 +39,7 @@
|
|
|
# o any cc(1)
|
|
|
|
|
|
# the package version/release
|
|
|
-%define V_openpkg 20030603
|
|
|
+%define V_openpkg 20030604
|
|
|
|
|
|
# the used software versions
|
|
|
%define V_rpm 4.0.2
|
|
|
@@ -1192,10 +1192,13 @@ Provides: OpenPKG
|
|
|
elif [ -f /etc/redhat-release -o -f /etc/mandrake-release ]; then
|
|
|
sroot=/etc/rc.d/init.d
|
|
|
lroot=/etc/rc.d/rc%d.d
|
|
|
+ elif [ -f /etc/SuSE-release ]; then
|
|
|
+ sroot=/etc/init.d
|
|
|
+ lroot=/etc/init.d/rc%d.d
|
|
|
else
|
|
|
echo "WARNING: you are not running one of the supported standard" 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
|
|
|
+ echo "WARNING: Linux platforms (Debian, RedHat, Mandrake, SuSE, Gentoo)." 1>&2
|
|
|
+ echo "WARNING: Guessing 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
|
|
|
@@ -1562,10 +1565,13 @@ Provides: OpenPKG
|
|
|
elif [ -f /etc/redhat-release -o -f /etc/mandrake-release ]; then
|
|
|
sroot=/etc/rc.d/init.d
|
|
|
lroot=/etc/rc.d/rc%d.d
|
|
|
+ elif [ -f /etc/SuSE-release ]; then
|
|
|
+ sroot=/etc/init.d
|
|
|
+ lroot=/etc/init.d/rc%d.d
|
|
|
else
|
|
|
echo "WARNING: you are not running one of the supported standard" 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
|
|
|
+ echo "WARNING: Linux platforms (Debian, RedHat, Mandrake, SuSE, Gentoo)." 1>&2
|
|
|
+ echo "WARNING: Guessing 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
|