source: llxcfg/trunk/fuentes/debian/llxcfg-runtime.prerm @ 98

Last change on this file since 98 was 96, checked in by hectorgh, 5 years ago

adding proyect files

File size: 1005 bytes
Line 
1#!/bin/sh
2
3set -e
4
5case "$1" in
6    remove|purge|abort-install|disappear)
7       # remove jumble
8       #PANDORA EDIT
9       #llxcfg-cpkg-backend disable jumble 1 || true
10       # elimina directorios/enlaces
11       /usr/share/lliurex/llxcfg-runtime/llxcfg-setdirs delete
12       # restablece los servicios desactivados
13       
14       #PANDORA EDIT
15       #llxcfg-policy enable-all
16
17    # desperate need of llxcfg-dev package ...
18   
19    # PANDORA EDIT
20   
21    #for f in "old-llxcfg-apt 50" "llxcfg-cpkg 100" ; do
22    #   llxcfg-apt-scripts disable ${f% *} ${f#* }
23    #done
24   
25    #for f in "llxcfg-cpkg 100" ; do
26    #   llxcfg-init-scripts disable ${f% *} ${f#* }
27    #done
28   
29    # PANDORA EDIT END
30   
31#    for f in "llxcfg" "llxcfg-init" "llxcfg-backend-daemon" ; do
32#       update-rc.d $f remove >/dev/null || true
33#    done
34
35      ;;
36    upgrade|failed-upgrade|abort-upgrade)
37       ;;
38    *)
39       echo "prerm called with unknown argument \`$1'" >&2
40       exit 1
41esac
42
43#DEBHELPER#
44
45exit 0
Note: See TracBrowser for help on using the repository browser.