Fix packaging
This commit is contained in:
parent
216b665f8e
commit
2e9bd6ac1c
|
@ -1,13 +1,13 @@
|
|||
Source: terminator
|
||||
Section: misc
|
||||
XS-Python-Version: all
|
||||
XS-Python-Version: >=2.5
|
||||
Priority: optional
|
||||
Maintainer: Nicolas Valcárcel Scerpella <nvalcarcel@canonical.com>
|
||||
Uploaders: Rudy Godoy Guillén <rudy@debian.org>,
|
||||
Python Applications Packaging Team <python-apps-team@lists.alioth.debian.org>
|
||||
Build-Depends: debhelper (>= 5.0.62), python, cdbs (>= 0.4.49), intltool
|
||||
Build-Depends-Indep: python-support (>= 0.5.3)
|
||||
Standards-Version: 3.8.0
|
||||
Standards-Version: 3.8.2
|
||||
Vcs-Svn: svn://svn.debian.org/python-apps/packages/terminator/trunk/
|
||||
Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/terminator/trunk/
|
||||
Homepage: http://www.tenshu.net/terminator/
|
||||
|
|
|
@ -7,9 +7,11 @@ include /usr/share/cdbs/1/class/python-distutils.mk
|
|||
include /usr/share/cdbs/1/rules/simple-patchsys.mk
|
||||
|
||||
DEB_INSTALL_CHANGELOGS_ALL := ChangeLog
|
||||
DEB_PYTHON_INSTALL_ARGS_ALL +=--install-lib=/usr/share/terminator --install-scripts=/usr/share/terminator
|
||||
|
||||
binary-install/terminator::
|
||||
dh_icons -pterminator
|
||||
dh_link /usr/share/terminator/terminator /usr/bin/terminator
|
||||
|
||||
clean::
|
||||
rm -rf build/
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 0.13+ds1; then
|
||||
pycentral pkgremove remove terminator
|
||||
pycentral pkgremove terminator
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
if [ "$1" = remove ]; then
|
||||
update-alternatives --remove terminator /usr/bin/terminator
|
||||
update-alternatives --remove terminator /usr/bin/terminator || true
|
||||
update-alternatives --remove x-terminal-emulator /usr/bin/terminator
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue