updated ebuild
This commit is contained in:
parent
0cd39f1560
commit
f013c19965
1 changed files with 3 additions and 5 deletions
|
@ -35,8 +35,7 @@ src_unpack() {
|
|||
src_install() {
|
||||
local inspath
|
||||
|
||||
python_version
|
||||
inspath=/usr/$(get_libdir)/python${PYVER}/site-packages/${PN}
|
||||
inspath=$(python_get_sitedir)/${PN}
|
||||
insinto ${inspath}
|
||||
doins -r data src
|
||||
newins PyMSNt.py ${PN}.py
|
||||
|
@ -63,13 +62,12 @@ src_install() {
|
|||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_version
|
||||
python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/${PN}
|
||||
python_mod_optimize ${PN}
|
||||
|
||||
elog "A sample configuration file has been installed in /etc/jabber/${PN}.xml."
|
||||
elog "Please edit it and the configuration of your Jabber server to match."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/${PN}
|
||||
python_mod_cleanup ${PN}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue