aboutsummaryrefslogtreecommitdiff
path: root/german
diff options
context:
space:
mode:
Diffstat (limited to 'german')
-rw-r--r--german/staroffice70/Makefile7
-rw-r--r--german/staroffice70/files/sversionrc3
2 files changed, 3 insertions, 7 deletions
diff --git a/german/staroffice70/Makefile b/german/staroffice70/Makefile
index 3a640542d6e1..578756d199db 100644
--- a/german/staroffice70/Makefile
+++ b/german/staroffice70/Makefile
@@ -143,11 +143,10 @@ post-install:
install-user:
.if !exists(/home/mb/staroffice6.0/setup)
-.if exists(${HOME}/.sversionrc)
- @${ECHO} "StarOffice 6.0=${HOME}/${SOVERSION}" >> "${HOME}/.sversionrc"
-.else
- @${SED} -e 's|%%HOME%%|${HOME}|' < "${FILESDIR}/sversionrc" > "${HOME}/.sversionrc"
+.if !exists(${HOME}/.sversionrc)
+ @${ECHO} "[Versions]" >> "${HOME}/.sversionrc"
.endif
+ @${ECHO} "StarOffice 6.0=${HOME}/${SOVERSION}" >> "${HOME}/.sversionrc"
@${MKDIR} "${HOME}/${SOVERSION}/user/autotext"
@${MKDIR} "${HOME}/${SOVERSION}/user/temp"
@${MKDIR} "${HOME}/${SOVERSION}/user/autocorr"
diff --git a/german/staroffice70/files/sversionrc b/german/staroffice70/files/sversionrc
deleted file mode 100644
index 6cc054c61cbf..000000000000
--- a/german/staroffice70/files/sversionrc
+++ /dev/null
@@ -1,3 +0,0 @@
-[Versions]
-StarOffice 6.0=%%HOME%%/staroffice6.0
-