From 460909c64420c31031bb586b83c6df91cab0508a Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Wed, 30 Oct 2013 15:38:09 +0100 Subject: 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 --- setup_native/Package_packinfo.mk | 3 - setup_native/source/packinfo/packinfo_office.txt | 1 - setup_native/source/packinfo/shellscripts.txt | 11 --- .../source/packinfo/shellscripts_core01.txt | 87 ---------------------- setup_native/source/packinfo/shellscripts_root.txt | 11 --- 5 files changed, 113 deletions(-) delete mode 100644 setup_native/source/packinfo/shellscripts.txt delete mode 100644 setup_native/source/packinfo/shellscripts_core01.txt delete mode 100644 setup_native/source/packinfo/shellscripts_root.txt (limited to 'setup_native') diff --git a/setup_native/Package_packinfo.mk b/setup_native/Package_packinfo.mk index 786049354dbe..7daaa2892a2b 100644 --- a/setup_native/Package_packinfo.mk +++ b/setup_native/Package_packinfo.mk @@ -28,10 +28,7 @@ $(eval $(call gb_Package_add_file,setup_native/packinfo,bin/packinfo_office_help $(eval $(call gb_Package_add_file,setup_native/packinfo,bin/packinfo_office_lang.txt,packinfo_office_lang.txt)) $(eval $(call gb_Package_add_file,setup_native/packinfo,bin/packinfo_sdkoo.txt,packinfo_sdkoo.txt)) $(eval $(call gb_Package_add_file,setup_native/packinfo,bin/packinfo_ure.txt,packinfo_ure.txt)) -$(eval $(call gb_Package_add_file,setup_native/packinfo,bin/shellscripts.txt,shellscripts.txt)) -$(eval $(call gb_Package_add_file,setup_native/packinfo,bin/shellscripts_core01.txt,shellscripts_core01.txt)) $(eval $(call gb_Package_add_file,setup_native/packinfo,bin/shellscripts_module.txt,shellscripts_module.txt)) -$(eval $(call gb_Package_add_file,setup_native/packinfo,bin/shellscripts_root.txt,shellscripts_root.txt)) $(eval $(call gb_Package_add_file,setup_native/packinfo,bin/spellchecker_selection.txt,spellchecker_selection.txt)) # vim: set noet sw=4 ts=4: 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 -- cgit v1.2.3