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
diff --git a/setup_native/source/packinfo/packinfo_office.txt b/setup_native/source/packinfo/packinfo_office.txt
index 1aa52fd..91efdb7 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 4b3bd88..0000000
--- 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