source:
zero-lliurex-installers/trunk/fuentes/zero-lliurex-classroom-assembly.install/usr/share/zero-lliurex-classroom-assembly/classroom-assembly_script
@
8279
Last change on this file since 8279 was 8279, checked in by , 2 years ago | |
---|---|
|
|
File size: 245 bytes |
Line | |
---|---|
1 | #!/bin/bash |
2 | |
3 | |
4 | ACTION="$1" |
5 | |
6 | case $ACTION in |
7 | remove) |
8 | apt-get remove -y classroom-assembly |
9 | TEST=$( dpkg-query -s classroom-assembly 2> /dev/null| grep Status | cut -d " " -f 4 ) |
10 | if [ "$TEST" == 'installed' ];then |
11 | exit 1 |
12 | fi |
13 | ;; |
14 | esac |
15 |
Note: See TracBrowser
for help on using the repository browser.