save new skell
This commit is contained in:
parent
c9af9bc899
commit
752fd63e63
1 changed files with 16 additions and 1 deletions
|
@ -11,5 +11,20 @@ echo "$_DOTFILES"
|
||||||
|
|
||||||
while VAR= read -r line;
|
while VAR= read -r line;
|
||||||
do
|
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"
|
done <<< "$_FILE_TO_COPY"
|
||||||
|
|
Loading…
Reference in a new issue