1
0
mirror of https://github.com/TheLocehiliosan/yadm synced 2026-03-02 03:49:29 +00:00

Support overriding architecture

In the same way as os, hostname and user.
This commit is contained in:
Erik Flodin
2021-12-27 22:10:13 +01:00
parent 2f00dabcdb
commit 2379d63068
3 changed files with 17 additions and 5 deletions

2
yadm
View File

@@ -837,7 +837,7 @@ EOF
function config() {
use_repo_config=0
local_options="^local\.(class|os|hostname|user)$"
local_options="^local\.(class|arch|os|hostname|user)$"
for option in "$@"; do
[[ "$option" =~ $local_options ]] && use_repo_config=1
done