Commit 3709eb0c authored by Davisson Henrique Paulino's avatar Davisson Henrique Paulino
Browse files

checking if it has dbus

parent c0885666
......@@ -23,9 +23,11 @@
set -e
# Enable the extension
# if it is already enable will not crash
gnome-shell-extension-tool -e le-inep-bar@c3sl.ufpr.br || true
gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell --method org.gnome.Shell.Extensions.ReloadExtension 'le-inep-bar@c3sl.ufpr.br' || true
if [ -z "$NO_DBUS" ];then
gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell --method org.gnome.Shell.Extensions.ReloadExtension 'le-inep-bar@c3sl.ufpr.br'
fi
echo "Installation finished. Reset your system and enable the extension for it to work."
#DEBHELPER#
......
......@@ -97,7 +97,7 @@ function init() {
});
button.connect('button-press-event', function(){
GLib.spawn_command_line_async('/usr/local/bin/dialog_inep.sh --reconfigure');
GLib.spawn_command_line_async('/usr/lib/le-proinfodata/dialog_inep.sh --reconfigure');
infoBox.hide();
});
......
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