builder: adding checks to fix a broken layman configuration
This commit is contained in:
committed by
GitHub
parent
1ef3938a96
commit
36999309c2
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user