source: llx-pool-tools/trunk/fuentes/debian/postinst @ 1275

Last change on this file since 1275 was 1275, checked in by hectorgh, 4 years ago

adding project files

File size: 465 bytes
Line 
1#!/bin/sh
2
3set -e
4case "$1" in
5   configure)
6
7        ORIG_DIR="/usr/share/llx-pool/basic-pkg-lists/trusty"
8        DIR="/etc/llx-pool/basic-pkg-lists/trusty"
9       
10        if [ ! -e "$DIR" ] ; then
11                mkdir -p $DIR
12        fi
13       
14        for f in "extra-pkg-list" "frozen-list" "llx-metas-list" "udeb-list"; do 
15                if [ ! -e "$DIR/$f" ]; then 
16                        cp "$ORIG_DIR/$f" "$DIR/$f"
17                fi
18        done
19       
20       
21
22   ;;
23
24   abort-upgrade|abort-remove|abort-deconfigure)
25   ;;
26
27   *)
28       exit 1
29   ;;
30esac
31
32#DEBHELPER#
33
34exit 0
35
Note: See TracBrowser for help on using the repository browser.