summaryrefslogtreecommitdiff
path: root/setup_native
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2015-10-17 20:13:45 +0200
committerAndras Timar <andras.timar@collabora.com>2015-10-17 21:13:12 +0200
commitf8f1a0645106a02a926e96d61f5a55c0e8e41a7b (patch)
tree7b56ab47440dbde94e2b3ea4b019966e0bacc6aa /setup_native
parenteb911d69221a5491e75ab0ea47985535a0102aad (diff)
deb system integration postinst and postrm scripts are not needed here
... because special 'debian-menus' package from sysui module does the job We do not have these scripts in rpm packages, let's not have them in deb packages, too. Change-Id: Iae7e996c3c3a8c1fb40977436773829a16e93fee
Diffstat (limited to 'setup_native')
-rw-r--r--setup_native/source/packinfo/packinfo_office.txt6
-rw-r--r--setup_native/source/packinfo/shellscripts_module.txt51
2 files changed, 0 insertions, 57 deletions
diff --git a/setup_native/source/packinfo/packinfo_office.txt b/setup_native/source/packinfo/packinfo_office.txt
index 1aa52fdb6da5..91efdb7d5e62 100644
--- a/setup_native/source/packinfo/packinfo_office.txt
+++ b/setup_native/source/packinfo/packinfo_office.txt
@@ -99,7 +99,6 @@ End
Start
module = "gid_Module_Prg_Wrt_Bin"
-script = "shellscripts_module.txt"
solarispackagename = "%BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-writer"
packagename = "%BASISPACKAGEPREFIX%PRODUCTVERSION-writer"
solarisrequires = "%BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core, SUNWlibC"
@@ -115,7 +114,6 @@ End
Start
module = "gid_Module_Prg_Calc_Bin"
-script = "shellscripts_module.txt"
solarispackagename = "%BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-calc"
solarisrequires = "%BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core, SUNWlibC"
packagename = "%BASISPACKAGEPREFIX%PRODUCTVERSION-calc"
@@ -131,7 +129,6 @@ End
Start
module = "gid_Module_Prg_Draw_Bin"
-script = "shellscripts_module.txt"
solarispackagename = "%BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-draw"
solarisrequires = "%BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core, SUNWlibC"
packagename = "%BASISPACKAGEPREFIX%PRODUCTVERSION-draw"
@@ -147,7 +144,6 @@ End
Start
module = "gid_Module_Prg_Impress_Bin"
-script = "shellscripts_module.txt"
solarispackagename = "%BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-impress"
solarisrequires = "%BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core, SUNWlibC"
packagename = "%BASISPACKAGEPREFIX%PRODUCTVERSION-impress"
@@ -163,7 +159,6 @@ End
Start
module = "gid_Module_Prg_Base_Bin"
-script = "shellscripts_module.txt"
solarispackagename = "%BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-base"
solarisrequires = "%BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core, SUNWlibC"
packagename = "%BASISPACKAGEPREFIX%PRODUCTVERSION-base"
@@ -179,7 +174,6 @@ End
Start
module = "gid_Module_Prg_Math_Bin"
-script = "shellscripts_module.txt"
solarispackagename = "%BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-math"
solarisrequires = "%BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core, SUNWlibC"
packagename = "%BASISPACKAGEPREFIX%PRODUCTVERSION-math"
diff --git a/setup_native/source/packinfo/shellscripts_module.txt b/setup_native/source/packinfo/shellscripts_module.txt
deleted file mode 100644
index 4b3bd88e0156..000000000000
--- a/setup_native/source/packinfo/shellscripts_module.txt
+++ /dev/null
@@ -1,51 +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 .
-#
-
-%format deb
-
-%postinstall << END
-if [ "$$1" = "configure" ] ; then
- # update desktop database
- if [ -x /usr/bin/update-desktop-database ]; then
- update-desktop-database -q /usr/share/applications
- fi
- # update debian style menus
- if [ -x /usr/bin/update-menus ]; then
- update-menus
- fi
-fi
-exit 0
-END
-
-%postremove << END
-if [ "$$1" != "purge" ]
-then
- if [ -x /usr/bin/update-desktop-database ]
- then
- update-desktop-database -q /usr/share/applications
- fi
- if [ -x /usr/bin/update-menus ]
- then
- update-menus
- fi
-fi
-exit 0
-END
-
-%format all
-