Absolute paths does not play good with pkg_* tools,

while pkgng uses them just fine. So change current
directory to / before touching /var files and directories.

Spotted by:	antoine (thanks!)
This commit is contained in:
Boris Samorodov 2013-06-20 18:53:07 +00:00
parent 3f622e8870
commit 50c7e115af
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=321409

View File

@ -3,7 +3,8 @@ bin/efax
bin/efix
etc/efax.rc.sample
etc/efax.rc.sample.ja
@unexec /bin/rm /var/spool/fax/outgoing/lock
@dirrmtry /var/spool/fax/incoming
@dirrmtry /var/spool/fax/outgoing
@dirrmtry /var/spool/fax
@cwd /
var/spool/fax/outgoing/lock
@dirrmtry var/spool/fax/incoming
@dirrmtry var/spool/fax/outgoing
@dirrmtry var/spool/fax