summaryrefslogtreecommitdiff
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:21:18 +0200
commit22e904c70b195e32425c2ff201558041ce5b4d91 (patch)
tree0a055b01304676078e76e49f9942aa9c3065a7a0
parent4fbc5d360600cc6251adb6d115fa29f773257bb2 (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 (cherry picked from commit f8f1a0645106a02a926e96d61f5a55c0e8e41a7b)
-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 d1f848b2c735..2b19fe12fd20 100644
--- a/setup_native/source/packinfo/packinfo_office.txt
+++ b/setup_native/source/packinfo/packinfo_office.txt
@@ -101,7 +101,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"
@@ -117,7 +116,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"
@@ -133,7 +131,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"
@@ -149,7 +146,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"
@@ -165,7 +161,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"
@@ -181,7 +176,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
-