Commit 0dfaf11a authored by Guilherme Becker Agge's avatar Guilherme Becker Agge
Browse files

SCRUM#608: Add DBus dependency and fixes enabling after install

parent 033b73b6
Pipeline #18109 failed with stages
in 4 minutes and 59 seconds
...@@ -8,7 +8,7 @@ Standards-Version: 3.9.7 ...@@ -8,7 +8,7 @@ Standards-Version: 3.9.7
Package: le-inep-bar Package: le-inep-bar
Architecture: all Architecture: all
Depends: ${misc:Depends}, ${shlibs:Depends} Depends: ${misc:Depends}, libdbus-1-dev, ${shlibs:Depends}
Pre-Depends: le-proinfodata Pre-Depends: le-proinfodata
Description: Shows the school name in the taskbar Description: Shows the school name in the taskbar
GNOME extension that shows the school name from the INEP number. GNOME extension that shows the school name from the INEP number.
...@@ -22,10 +22,23 @@ ...@@ -22,10 +22,23 @@
set -e set -e
# Enable the extension case "$1" in
# if it is already enabled it will not crash configure)
gnome-shell-extension-tool -e le-inep-bar@c3sl.ufpr.br || true gnome-shell-extension-tool -e le-inep-bar@c3sl.ufpr.br || true
echo "Installation finished. Reset your system and enable the extension for it to work." echo "Installation finished. Reset your system and enable the extension for it to work."
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
#DEBHELPER#
exit 0 exit 0
#DEBHELPER#
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment