mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
7a66c8b4de
- Fix rc.d script - Convert USE_BZIP2 to USES
13 lines
278 B
Bash
13 lines
278 B
Bash
#!/bin/sh
|
|
|
|
if [ "$2" = "POST-INSTALL" ]; then
|
|
if [ ! -d "%%CACHEDIR%%" ]; then
|
|
mkdir -p "%%CACHEDIR%%/cache" || exit 1
|
|
mkdir -p "%%CACHEDIR%%/traces" || exit 1
|
|
chown -R "%%USER%%:%%GROUP%%" "%%CACHEDIR%%" || exit 1
|
|
chmod -R 0775 "%%CACHEDIR%%" || exit 1
|
|
fi
|
|
fi
|
|
|
|
exit 0
|