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