source: zero-lliurex-installers/trunk/EPI_FILES/fuentes/zero-lliurex-chromecast.install/usr/share/zero-lliurex-chromecast/chromecast_script @ 6564

Last change on this file since 6564 was 6564, checked in by jrpelegrina, 3 years ago

WIP in new directory for migration to EPI

  • Property svn:executable set to *
File size: 251 bytes
Line 
1#!/bin/bash
2
3
4ACTION="$1"
5
6case $ACTION in
7        Remove)
8                apt-get remove -y mkchromecast
9                TEST=$( dpkg-query -s mkchromecast 2> /dev/null| grep Status | cut -d " " -f 4 )
10                if [ "$TEST" != 'installed' ];then
11                        exit 0
12                else
13                        exit 1 
14                fi     
15        ;;     
16esac   
17
Note: See TracBrowser for help on using the repository browser.