fixes
This commit is contained in:
parent
3eab400776
commit
f3b440aa21
4
main.sh
4
main.sh
|
@ -23,12 +23,12 @@ if mountpoint -q "${dest}"; then
|
|||
fi
|
||||
|
||||
export run="config"
|
||||
for i in $(find "${dir}/step1" -mindepth 1 -maxdepth 1 -type f | sort -n ); do
|
||||
for i in $(find "${step}1" -mindepth 1 -maxdepth 1 -type f | sort -n ); do
|
||||
test -f "${i}" && source "${i}"
|
||||
done
|
||||
|
||||
export run="postconfig"
|
||||
for i in $(find "${dir}/step2" -mindepth 1 -maxdepth 1 -type f | sort -n ); do
|
||||
for i in $(find "${step}2" -mindepth 1 -maxdepth 1 -type f | sort -n ); do
|
||||
test -f "${i}" && source "${i}"
|
||||
done
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#!/bin/bash
|
||||
dir="/tmp/installer"
|
||||
step="${dir}/step"
|
||||
wrksrc="${dir}"/tmp
|
||||
functions="${dir}/functions"
|
||||
FILESDIR="${dir}/files"
|
||||
|
@ -26,11 +27,11 @@ for i in $(seq 0 "$(( max - 1 ))"); do
|
|||
done
|
||||
|
||||
export run="install"
|
||||
for i in $(find "${dir}/step3" -mindepth 1 -maxdepth 1 -type f | sort -n ); do
|
||||
for i in $(find "${step}3" -mindepth 1 -maxdepth 1 -type f | sort -n ); do
|
||||
test -f "${i}" && source "${i}"
|
||||
done
|
||||
|
||||
export run="post"
|
||||
for i in $(find "${dir}/step3" -mindepth 1 -maxdepth 1 -type f | sort -n); do
|
||||
for i in $(find "${step}3" -mindepth 1 -maxdepth 1 -type f | sort -n); do
|
||||
test -f "${i}" && source "${i}"
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue