mirror of
https://github.com/sbopkg/sbopkg
synced 2024-12-29 10:24:11 +01:00
Fix bug where "sbopkg -c -v local" showed a dialog.
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
This commit is contained in:
parent
66c52845b6
commit
b599f398a3
1 changed files with 7 additions and 3 deletions
|
@ -1619,9 +1619,13 @@ rsync_repo() {
|
|||
local SBOPKGOUTPUT=$SBOPKGTMP/sbopkg_output
|
||||
|
||||
if [[ $SLACKVER == local ]]; then
|
||||
dialog --title "ERROR" --msgbox \
|
||||
"You cannot rsync when using the $LOCALREPO/local repository." \
|
||||
8 40
|
||||
if [[ $DIAG ]]; then
|
||||
dialog --title "ERROR" --msgbox $(crunch "You cannot rsync when \
|
||||
using the $LOCALREPO/local repository.") 8 40
|
||||
else
|
||||
crunch_fmt "You cannot rsync when using the $LOCALREPO/local \
|
||||
repository."
|
||||
fi
|
||||
continue
|
||||
fi
|
||||
directory_checks
|
||||
|
|
Loading…
Reference in a new issue