save new skell

This commit is contained in:
statzitz 2024-08-03 17:15:10 +02:00
parent c9af9bc899
commit 752fd63e63

View file

@ -11,5 +11,20 @@ echo "$_DOTFILES"
while VAR= read -r line;
do
echo " .. $line .. ";
order="$(echo $line | cut -d ' ' -f 1)"
file_on_computer="$(echo $line | cut -d ' ' -f 2)"
file_on_dotfile="$(echo $line | cut -d ' ' -f 3)"
if [ "$order" = "d" ]
then
echo ".. d detected .."
elif [ "$order" = "f" ]
then
echo ".. f detected .."
else
echo "Err, $order uknown"
fi
echo " .. $order $file_on_computer $file_on_dotfile.. ";
done <<< "$_FILE_TO_COPY"