Split off rsyncing folder of scripts to seperate script

This commit is contained in:
easthighNerd committed 2025-12-24 16:29:35 -05:00
1 parent 2028fa4396
commit 16018759fb
2 files changed
+10 -3

No files matched your search

+1 -3
View File
@@ -137,9 +137,7 @@ if [[ "${ID}" == 'fedora' ]]; then
"${baseDir}/fedora.sh" --resolv-conf "${baseDir}/fedora.sh" --resolv-conf
fi fi
rsync -pogAXtlHrDx \ "${baseDir}/rsync.sh"
"${baseDir}" \
/mnt
if [[ "${ID}" == 'elementary' ]]; then if [[ "${ID}" == 'elementary' ]]; then
"${baseDir}/elementary.sh" --skel "${baseDir}/elementary.sh" --skel
+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
set -euo pipefail
baseDir="$(realpath "$(dirname "${0}")")"
rsync -pogAXtlHrDx \
"${baseDir}" \
/mnt