bug
This commit is contained in:
parent
bbb55599f7
commit
0f4636fa77
4
bin/pman
4
bin/pman
@ -78,11 +78,11 @@ function init_repo_action() {
|
||||
}
|
||||
|
||||
function init_pman_action() {
|
||||
[ ${#LocalBranches[*]} -eq 0 ] || die "Ce dépôt a déjà été initialisé"
|
||||
[ -f .pman.conf ] || die "La configuration pman a déjà été initialisée"
|
||||
|
||||
local -a push_branches
|
||||
|
||||
_init_pman || exit_with ewarn "Initialisation de pman annulée"
|
||||
_init_pman || exit_with ewarn "Initialisation de la configuration annulée"
|
||||
push_branches+=("$CurrentBranch")
|
||||
|
||||
_push_branches
|
||||
|
Loading…
Reference in New Issue
Block a user