v0.5.1
[cell-modem-ui] / debian / cell-modem-ui.postinst
1 #!/bin/sh
2
3 case "$1" in
4     configure)
5     if [ -e /etc/systemui/cell-modem-ui.xml ]; then
6       rm -f /etc/systemui/cell-modem-ui.xml
7     fi
8     ln -s /opt/cell-modem-ui/cell-modem-ui.xml /etc/systemui/cell-modem-ui.xml 
9
10     echo "Restarting systemui..."
11     killall systemui ||¬†true
12     ;;
13
14     *)
15     ;;
16 esac
17