From 47e6cf070d1b86fa7132e2579e92c612e4fb0d6f Mon Sep 17 00:00:00 2001 From: alex Date: Tue, 4 Sep 2001 22:30:19 +0000 Subject: - Add check for installed and running linprocfs - Sync french version with the english and german version Submitted by: Martin Blapp (MAINTAINER) --- german/staroffice52/Makefile | 17 +++++++++++++++++ german/staroffice70/Makefile | 16 ++++++++++++++++ 2 files changed, 33 insertions(+) (limited to 'german') diff --git a/german/staroffice52/Makefile b/german/staroffice52/Makefile index 771c234..e60c688 100644 --- a/german/staroffice52/Makefile +++ b/german/staroffice52/Makefile @@ -38,10 +38,27 @@ INSTDB.INS= ${PREFIX}/office52/program/instdb.ins SUNSOLVE= ${WRKDIR}/109939-02 ADABAS_DIST= soa-5_2-ga-bin-linux-de.bin SIZE!= /bin/df -k . | /usr/bin/tail -n 1 | /usr/bin/awk '{print $$4}' +LINPROCFS!= mount | grep linprocfs | awk '{print $1}' .include pre-fetch: +.if ${LINPROCFS} + @${ECHO} + @${ECHO} Ist linprocfs installiert und gemounted: JA +.else + @${ECHO} ----------------------------------------------------------- + @${ECHO} + @${ECHO} Staroffice benoetigt ein gemountetes linprocfs, das auf + @${ECHO} ihrem System nicht aktiviert ist. Bitte lesen Sie die + @${ECHO} linprocfs(5) manpage und fuegen Sie folgende Line zu der + @${ECHO} Datei /etc/fstab hinzu: + @${ECHO} + @${ECHO} linproc /compat/linux/proc linprocfs rw 0 0 + @${ECHO} + @${ECHO} ----------------------------------------------------------- + @${FALSE} +.endif .if ${OSVERSION} < 410000 @${ECHO} @${ECHO} OS-VERSION ${OSVERSION} diff --git a/german/staroffice70/Makefile b/german/staroffice70/Makefile index 071cf24..abf03b7 100644 --- a/german/staroffice70/Makefile +++ b/german/staroffice70/Makefile @@ -40,10 +40,26 @@ INSTDB.INS= ${PREFIX}/office52/program/instdb.ins SUNSOLVE= ${WRKDIR}/109939-02 ADABAS_DIST= soa-5_2-ga-bin-linux-en.bin SIZE!= /bin/df -k . | /usr/bin/tail -n 1 | /usr/bin/awk '{print $$4}' +LINPROCFS!= mount | grep linprocfs | awk '{print $1}' .include pre-fetch: +.if ${LINPROCFS} + @${ECHO} + @${ECHO} Check if linprocfs is running: YES +.else + @${ECHO} ----------------------------------------------------------- + @${ECHO} + @${ECHO} Staroffice setup needs a running linprocfs, which is not + @${ECHO} activated on your system. Please read the linprocfs(5) + @${ECHO} manpage and add the following line to /etc/fstab: + @${ECHO} + @${ECHO} linproc /compat/linux/proc linprocfs rw 0 0 + @${ECHO} + @${ECHO} ----------------------------------------------------------- + @${FALSE} +.endif .if ${OSVERSION} < 410000 @${ECHO} @${ECHO} OS-VERSION ${OSVERSION} -- cgit v1.1