Kaydet (Commit) 460909c6 authored tarafından Michael Stahl's avatar Michael Stahl

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
üst 364f8a57
......@@ -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:
......@@ -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"
......
%preinstall << END
END
%postinstall << END
END
%preremove << END
END
%postremove << END
END
#
# 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
%preinstall << END
END
%postinstall << END
END
%preremove << END
END
%postremove << END
END
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment