xbps-src: create required dir for xbps-src.conf.

This commit is contained in:
Juan RP 2014-12-22 11:28:52 +01:00
parent 2e78e7fdcf
commit 57dc040df6
1 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,8 @@
chroot_init() {
XBPSSRC_CF=$XBPS_MASTERDIR/etc/xbps/xbps-src.conf
mkdir -p $XBPS_MASTERDIR/etc/xbps
cat > $XBPSSRC_CF <<_EOF
# Generated configuration file by xbps-src, DO NOT EDIT!
_EOF