mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-16 05:26:11 +00:00
remove test debug
This commit is contained in:
@@ -68,7 +68,7 @@ echo 'in dir1' > ${tmpd}/dir1/not_the_same
|
|||||||
echo 'This is a file in dir1' > ${tmpd}/dir1/file_in_dir1
|
echo 'This is a file in dir1' > ${tmpd}/dir1/file_in_dir1
|
||||||
mkdir -p ${tmpd}/dir1/sub/sub2
|
mkdir -p ${tmpd}/dir1/sub/sub2
|
||||||
echo 'first' > ${tmpd}/dir1/sub/sub2/different
|
echo 'first' > ${tmpd}/dir1/sub/sub2/different
|
||||||
tree ${tmpd}/dir1
|
#tree ${tmpd}/dir1
|
||||||
|
|
||||||
# create the hierarchy
|
# create the hierarchy
|
||||||
# for dir2 (modified original for update)
|
# for dir2 (modified original for update)
|
||||||
@@ -82,7 +82,7 @@ mkdir -p ${tmpd}/dir2/file_in_dir1
|
|||||||
mkdir -p ${tmpd}/dir2/sub/sub2
|
mkdir -p ${tmpd}/dir2/sub/sub2
|
||||||
echo 'modified' > ${tmpd}/dir2/sub/sub2/different
|
echo 'modified' > ${tmpd}/dir2/sub/sub2/different
|
||||||
mkdir -p ${tmpd}/dir2/new/new2
|
mkdir -p ${tmpd}/dir2/new/new2
|
||||||
tree ${tmpd}/dir2
|
#tree ${tmpd}/dir2
|
||||||
|
|
||||||
# create the config file
|
# create the config file
|
||||||
cfg="${basedir}/config.yaml"
|
cfg="${basedir}/config.yaml"
|
||||||
@@ -94,13 +94,13 @@ cd ${ddpath} | ${bin} import -c ${cfg} ${tmpd}/dir1
|
|||||||
cd ${ddpath} | ${bin} import -c ${cfg} ${tmpd}/uniquefile
|
cd ${ddpath} | ${bin} import -c ${cfg} ${tmpd}/uniquefile
|
||||||
|
|
||||||
# let's see the dotpath
|
# let's see the dotpath
|
||||||
tree ${basedir}/dotfiles
|
#tree ${basedir}/dotfiles
|
||||||
|
|
||||||
# change dir1 to dir2 in deployed
|
# change dir1 to dir2 in deployed
|
||||||
echo "[+] change dir"
|
echo "[+] change dir"
|
||||||
rm -rf ${tmpd}/dir1
|
rm -rf ${tmpd}/dir1
|
||||||
mv ${tmpd}/dir2 ${tmpd}/dir1
|
mv ${tmpd}/dir2 ${tmpd}/dir1
|
||||||
tree ${tmpd}/dir1
|
#tree ${tmpd}/dir1
|
||||||
|
|
||||||
# change unique file
|
# change unique file
|
||||||
echo 'changed' > ${tmpd}/uniquefile
|
echo 'changed' > ${tmpd}/uniquefile
|
||||||
|
|||||||
Reference in New Issue
Block a user