builder: adding checks to fix a broken layman configuration

This commit is contained in:
Ettore Di Giacinto
2016-09-13 10:06:05 +02:00
committed by GitHub
parent 1ef3938a96
commit 36999309c2
+2
View File
@@ -322,6 +322,8 @@ if ( $remote_portdir ne "" ) {
system("chown -R portage:portage /usr/portage");
system("chmod -R ug+w,a+rX /usr/portage");
}
system("mkdir /var/lib/layman") if ( ! -d "/var/lib/layman" );
system("touch /var/lib/layman/make.conf && layman-updater -R") if ( ! -e "/var/lib/layman/make.conf" );
system("echo 'y' | layman -f -a $_") for @overlays;