Lines 4-10
Link Here
|
4 |
# |
4 |
# |
5 |
|
5 |
|
6 |
PATH=/bin:/usr/bin:/usr/sbin |
6 |
PATH=/bin:/usr/bin:/usr/sbin |
7 |
pkgname=$1 |
|
|
8 |
|
7 |
|
9 |
case $2 in |
8 |
case $2 in |
10 |
DEINSTALL) |
9 |
DEINSTALL) |
Lines 16-25
Link Here
|
16 |
POST-DEINSTALL) |
15 |
POST-DEINSTALL) |
17 |
rmdir ${PKG_PREFIX}/etc/squid 2>/dev/null |
16 |
rmdir ${PKG_PREFIX}/etc/squid 2>/dev/null |
18 |
rmdir ${PKG_PREFIX}/squid/cache 2>/dev/null |
17 |
rmdir ${PKG_PREFIX}/squid/cache 2>/dev/null |
19 |
rmdir -p ${PKG_PREFIX}/squid/logs 2>/dev/null |
18 |
rmdir ${PKG_PREFIX}/squid/logs 2>/dev/null |
20 |
echo "===> post-deinstallation information for ${pkgname}" |
19 |
rmdir ${PKG_PREFIX}/squid 2>/dev/null |
|
|
20 |
echo "===> post-deinstallation information for $1" |
21 |
echo "" |
21 |
echo "" |
22 |
echo " Please note that ${pkgname} was not completely removed" |
22 |
echo " Please note that $1 was not completely removed" |
23 |
echo " from this system." |
23 |
echo " from this system." |
24 |
echo "" |
24 |
echo "" |
25 |
echo " The cache and log directories, squid's user account," |
25 |
echo " The cache and log directories, squid's user account," |