home
·
contact
·
privacy
projects
/
config
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix broken borg migration script.
[config]
/
bookworm
/
setup_scripts
/
misc.sh
diff --git
a/bookworm/setup_scripts/misc.sh
b/bookworm/setup_scripts/misc.sh
index cc93c32b6c53fb9f74d05734efe7c1616571cc87..641d7522b2031da1476f6ad13742ca7108727bae 100644
(file)
--- a/
bookworm/setup_scripts/misc.sh
+++ b/
bookworm/setup_scripts/misc.sh
@@
-19,6
+19,15
@@
expect_n_args() {
fi
}
fi
}
+expect_setup_finished_file() {
+ filename="$1"
+ setup_script="$2"
+ if [ ! -f "${HOME}/${filename}" ]; then
+ echo "First need to run ${setup_script}."
+ false
+ fi
+}
+
get_system_name_arg() {
found=0
for system_name_i in $legal_system_names; do
get_system_name_arg() {
found=0
for system_name_i in $legal_system_names; do