summaryrefslogtreecommitdiff
path: root/setup_native/source/packinfo
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-10-30 15:38:09 +0100
committerMichael Stahl <mstahl@redhat.com>2013-10-31 10:42:22 +0100
commit460909c64420c31031bb586b83c6df91cab0508a (patch)
tree27fba6b3569c279f05e854f66e2eee44c9260309 /setup_native/source/packinfo
parent364f8a577179e0b3fc2a458763504c97a36710e6 (diff)
setup_native: remove unused shellscripts*.txt
Only shellscripts_module.txt actually used; the shellscripts_core01.txt is apparently relic of 3-layer office days. Change-Id: I37faa0bbe195574511c3af85db1beb15e8a2cda3
Diffstat (limited to 'setup_native/source/packinfo')
-rw-r--r--setup_native/source/packinfo/packinfo_office.txt1
-rw-r--r--setup_native/source/packinfo/shellscripts.txt11
-rw-r--r--setup_native/source/packinfo/shellscripts_core01.txt87
-rw-r--r--setup_native/source/packinfo/shellscripts_root.txt11
4 files changed, 0 insertions, 110 deletions
diff --git a/setup_native/source/packinfo/packinfo_office.txt b/setup_native/source/packinfo/packinfo_office.txt
index 578b6f8b7f25..bdd82f6b6ab7 100644
--- a/setup_native/source/packinfo/packinfo_office.txt
+++ b/setup_native/source/packinfo/packinfo_office.txt
@@ -82,7 +82,6 @@ End
Start
module = "gid_Module_Root"
-# script = "shellscripts_core01.txt"
solarispackagename = "%BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core01"
packagename = "%BASISPACKAGEPREFIX%PRODUCTVERSION-core01"
requires = "%UREPACKAGEPREFIX%BRANDPACKAGEVERSION-ure %PACKAGEVERSION %PACKAGEVERSION"
diff --git a/setup_native/source/packinfo/shellscripts.txt b/setup_native/source/packinfo/shellscripts.txt
deleted file mode 100644
index 664cfbd887d7..000000000000
--- a/setup_native/source/packinfo/shellscripts.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-%preinstall << END
-END
-
-%postinstall << END
-END
-
-%preremove << END
-END
-
-%postremove << END
-END
diff --git a/setup_native/source/packinfo/shellscripts_core01.txt b/setup_native/source/packinfo/shellscripts_core01.txt
deleted file mode 100644
index 96943e131e9a..000000000000
--- a/setup_native/source/packinfo/shellscripts_core01.txt
+++ /dev/null
@@ -1,87 +0,0 @@
-#
-# This file is part of the LibreOffice project.
-#
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-#
-# This file incorporates work covered by the following license notice:
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed
-# with this work for additional information regarding copyright
-# ownership. The ASF licenses this file to you under the Apache
-# License, Version 2.0 (the "License"); you may not use this file
-# except in compliance with the License. You may obtain a copy of
-# the License at http://www.apache.org/licenses/LICENSE-2.0 .
-#
-
-%preinstall << END
-END
-
-%postinstall << END
-
-# echo Command after installing
-# searching for the PRODUCTINSTALLLOCATION for the different platforms
-platform=`uname -s`
-case $$platform in
-SunOS)
- UREPACKAGE=SOLSUREPACKAGEPREFIX%BRANDPACKAGEVERSION-ure
- UREDIR=`pkginfo -r $$UREPACKAGE`
- PRODUCTINSTALLLOCATION="$$BASEDIR"
- ;;
-Linux)
- UREPACKAGE=UREPACKAGEPREFIX%BRANDPACKAGEVERSION-ure
- UREDIR=`rpm -q --queryformat "%{INSTALLPREFIX}" $$UREPACKAGE`
- PRODUCTINSTALLLOCATION="$$RPM_INSTALL_PREFIX"
- ;;
-*)
- PRODUCTINSTALLLOCATION="$$BASEDIR"
- ;;
-esac
-
-# creating link to ure
-if [ -d $$UREDIR/libreoffice/ure ]
-then
- ln -s $$UREDIR/libreoffice/ure $$PRODUCTINSTALLLOCATION/libreoffice/basisBASISDIRECTORYVERSION/ure-link >/dev/null 2>&1
-else
- ln -s ../ure $$PRODUCTINSTALLLOCATION/libreoffice/basisBASISDIRECTORYVERSION/ure-link >/dev/null 2>&1
-fi
-
-exit 0
-END
-
-%preremove << END
-END
-
-%postremove << END
-# echo Command after removing
-
-LASTUNINSTALL=1 # important for RPM deinstallation
-
-# searching for the PRODUCTINSTALLLOCATION for the different platforms
-platform=`uname -s`
-case $$platform in
-SunOS)
- PRODUCTINSTALLLOCATION="$$BASEDIR"
- ;;
-Linux)
- PRODUCTINSTALLLOCATION="$$RPM_INSTALL_PREFIX"
- if [ "$$1" = 1 ] # one package left after deinstallation -> update
- then
- LASTUNINSTALL=0
- fi
- ;;
-*)
- PRODUCTINSTALLLOCATION="$$BASEDIR"
- ;;
-esac
-
-if [ -h $$PRODUCTINSTALLLOCATION/libreoffice/basisBASISDIRECTORYVERSION/ure-link -a $$LASTUNINSTALL -eq 1 ]
-then
- rm -f $$PRODUCTINSTALLLOCATION/libreoffice/basisBASISDIRECTORYVERSION/ure-link 2>/dev/null
- rmdir $$PRODUCTINSTALLLOCATION/libreoffice/basisBASISDIRECTORYVERSION 2>/dev/null
-fi
-
-exit 0
-END
diff --git a/setup_native/source/packinfo/shellscripts_root.txt b/setup_native/source/packinfo/shellscripts_root.txt
deleted file mode 100644
index 664cfbd887d7..000000000000
--- a/setup_native/source/packinfo/shellscripts_root.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-%preinstall << END
-END
-
-%postinstall << END
-END
-
-%preremove << END
-END
-
-%postremove << END
-END