Lines 5-11
Link Here
|
5 |
PKGNAME=$1 |
5 |
PKGNAME=$1 |
6 |
ACTION=$2 |
6 |
ACTION=$2 |
7 |
|
7 |
|
8 |
FILES_DELETE="pluggerrc-5.1.2.old" |
8 |
FILES_DELETE="pluggerrc-5.1.3.old" |
9 |
|
9 |
|
10 |
ETCDIR=${PKG_PREFIX}/etc |
10 |
ETCDIR=${PKG_PREFIX}/etc |
11 |
|
11 |
|
Lines 16-23
Link Here
|
16 |
case "$ACTION" in |
16 |
case "$ACTION" in |
17 |
|
17 |
|
18 |
POST-INSTALL) |
18 |
POST-INSTALL) |
19 |
if [ ! -f ${ETCDIR}/pluggerrc-5.1.2 ]; then |
19 |
if [ ! -f ${ETCDIR}/pluggerrc-5.1.3 ]; then |
20 |
${CP} ${ETCDIR}/pluggerrc-5.1.2.sample ${ETCDIR}/pluggerrc-5.1.2 |
20 |
${CP} ${ETCDIR}/pluggerrc-5.1.3.sample ${ETCDIR}/pluggerrc-5.1.3 |
21 |
fi |
21 |
fi |
22 |
;; |
22 |
;; |
23 |
|
23 |
|
Lines 46-52
Link Here
|
46 |
POST-DEINSTALL) |
46 |
POST-DEINSTALL) |
47 |
${ECHO} |
47 |
${ECHO} |
48 |
${ECHO} "If you are permanently removing this port," |
48 |
${ECHO} "If you are permanently removing this port," |
49 |
${ECHO} "you should do a ''rm -f ${ETCDIR}/pluggerrc-5.1.2''" |
49 |
${ECHO} "you should do a ''rm -f ${ETCDIR}/pluggerrc-5.1.3''" |
50 |
${ECHO} "to remove it." |
50 |
${ECHO} "to remove it." |
51 |
${ECHO} |
51 |
${ECHO} |
52 |
;; |
52 |
;; |