mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-11 23:34:00 +00:00
do not fail if dotfiles folder already exist
This commit is contained in:
@@ -8,7 +8,7 @@ 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
|
cat dotdrop/dotdrop.sh | sed 's#${cur}/dotdrop/dotdrop.py#${cur}/dotdrop/dotdrop/dotdrop.py#g' > dotdrop.sh
|
||||||
chmod +x dotdrop.sh
|
chmod +x dotdrop.sh
|
||||||
mkdir $fold
|
mkdir -p $fold
|
||||||
|
|
||||||
if [ ! -e ${conf} ]; then
|
if [ ! -e ${conf} ]; then
|
||||||
# init config file
|
# init config file
|
||||||
|
|||||||
Reference in New Issue
Block a user