update 11/7/23

This commit is contained in:
2023-11-07 12:52:49 -05:00
parent 7b35bb6d9c
commit 40ddc92c03
5 changed files with 149 additions and 24 deletions

View File

@@ -84,6 +84,20 @@ install_share() {
fi
}
install_extra() {
if [ -f "*" ]; then
printf "Extra files detected.\n"
for f in ${DIR}; do
read -p "$(printf "Install file '${f}'? ")" -n 1 -r
if [[ $REPLY =~ ^[Yy]$ ]]; then
cp ${f} ${TARGET}
elif [[ $REPLY =~ ^[Nn]$ ]]; then
printf "Skipping file '${f}'.\n"
fi
done
fi
}
case $1 in
-h)
usage "$@"