guake: fix INSTALL/REMOVE scripts.
This commit is contained in:
parent
06afda0416
commit
f72c6b0efd
3 changed files with 9 additions and 9 deletions
|
@ -1,5 +1,5 @@
|
|||
case "$ACTION" in
|
||||
post)
|
||||
glib-compile-schemas /usr/share/guake/data
|
||||
glib-compile-schemas usr/share/guake/data
|
||||
;;
|
||||
esac
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
case "$ACTION" in
|
||||
pre)
|
||||
if [ -f /usr/share/guake/data/gschemas.compiled ]; then
|
||||
rm -rf /usr/share/guake/data/gschemas.compiled
|
||||
if [ -f usr/share/guake/data/gschemas.compiled ]; then
|
||||
rm -rf usr/share/guake/data/gschemas.compiled
|
||||
fi
|
||||
esac
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'guake'
|
||||
pkgname=guake
|
||||
version=3.3.2
|
||||
revision=1
|
||||
revision=2
|
||||
noarch=yes
|
||||
build_style=python3-module
|
||||
pycompile_module="guake"
|
||||
|
@ -22,6 +22,11 @@ pre_build() {
|
|||
make generate-paths generate-mo
|
||||
}
|
||||
|
||||
do_check() {
|
||||
sed -i 's/from mock/from unittest.mock/g' guake/tests/test_quick_open.py
|
||||
make test
|
||||
}
|
||||
|
||||
pre_install() {
|
||||
export PBR_VERSION=4.0.4
|
||||
make prefix=/usr DESTDIR=${DESTDIR} install-locale
|
||||
|
@ -37,8 +42,3 @@ post_install() {
|
|||
ln -s ../guake/data/pixmaps/guake.png \
|
||||
${DESTDIR}/usr/share/pixmaps/guake.png
|
||||
}
|
||||
|
||||
do_check() {
|
||||
sed -i 's/from mock/from unittest.mock/g' guake/tests/test_quick_open.py
|
||||
make test
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue