mirror of
https://github.com/Ximi1970/systray-x.git
synced 2026-05-06 07:56:38 +02:00
Add post install debian
This commit is contained in:
15
dist/deb/debian.postinst
vendored
Normal file
15
dist/deb/debian.postinst
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Source debconf library.
|
||||
. /usr/share/debconf/confmodule
|
||||
|
||||
# Fetching configuration from debconf
|
||||
#db_get packagename/question1
|
||||
#ANSWER1=$RET
|
||||
|
||||
DEB_VENDOR=$(cat /etc/dpkg/origins/default | grep Vendor: | sed -e "s/Vendor: //")
|
||||
|
||||
if { "$DEB_VENDOR" == "Debian" ] ; then
|
||||
gnome-shell-extension-tool -e ubuntu-appindicator@ubuntu.com
|
||||
touch /maxime-was-here
|
||||
fi
|
||||
1
dist/deb/debian.rules
vendored
1
dist/deb/debian.rules
vendored
@@ -72,7 +72,6 @@ ifeq (Debian,$(DEB_VENDOR))
|
||||
mkdir -p /usr/src/packages/BUILD/debian/systray-x/usr/lib/thunderbird/extensions
|
||||
cd /usr/src/packages/BUILD/debian/systray-x/usr/lib/thunderbird/extensions ;\
|
||||
ln -sf ../../thunderbird-addons/extensions/systray-x@Ximi1970.xpi systray-x@Ximi1970.xpi
|
||||
gnome-shell-extension-tool -e ubuntu-appindicator@ubuntu.com
|
||||
else
|
||||
mkdir -p /usr/src/packages/BUILD/debian/systray-x/usr/lib/thunderbird-addons/extensions
|
||||
cp -f systray-x@Ximi1970.xpi /usr/src/packages/BUILD/debian/systray-x/usr/lib/thunderbird-addons/extensions/systray-x@Ximi1970.xpi
|
||||
|
||||
Reference in New Issue
Block a user