source: zero-lliurex-installers/trunk/EPI_FILES/fuentes/zero-lliurex-hotpotatoes.install/usr/share/zero-lliurex-hotpotatoes/hotpotatoes_script @ 6585

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

WIP in migration of hotpotatoes zmd to epi

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