mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-11 08:29:16 +00:00
update bootstrap and bash script
This commit is contained in:
@@ -6,7 +6,7 @@ fold="dotfiles"
|
|||||||
conf="config.yaml"
|
conf="config.yaml"
|
||||||
|
|
||||||
# copy dotdrop entry point
|
# copy dotdrop entry point
|
||||||
cat dotdrop/dotdrop.sh | sed 's#${cur}/dotdrop/dotdrop.py#${cur}/dotdrop/dotdrop/dotdrop.py#g' > dotdrop.sh
|
cp dotdrop/dotdrop.sh > dotdrop.sh
|
||||||
chmod +x dotdrop.sh
|
chmod +x dotdrop.sh
|
||||||
mkdir -p $fold
|
mkdir -p $fold
|
||||||
|
|
||||||
|
|||||||
@@ -25,6 +25,6 @@ cd "${cur}" || { echo "Folder \"${cur}\" doesn't exist, aborting." && exit; }
|
|||||||
# init the submodule
|
# init the submodule
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
# launch dotdrop
|
# launch dotdrop
|
||||||
python3 -m dotdrop.dotdrop --cfg="${cfg}" "${args[@]}"
|
PYTHONPATH=dotdrop python3 -m dotdrop.dotdrop --cfg="${cfg}" "${args[@]}"
|
||||||
# pivot back
|
# pivot back
|
||||||
cd "${opwd}" || { echo "Folder \"${opwd}\" doesn't exist, aborting." && exit; }
|
cd "${opwd}" || { echo "Folder \"${opwd}\" doesn't exist, aborting." && exit; }
|
||||||
|
|||||||
Reference in New Issue
Block a user