fixed incomplete changed from commit dc226f8
This commit is contained in:
parent
3fbd2115fd
commit
4e7c682b4f
|
@ -92,10 +92,10 @@ mvdir_backward_compat()
|
||||||
|
|
||||||
if [ -d $old_dir ]; then
|
if [ -d $old_dir ]; then
|
||||||
if [ $(ls $old_dir | wc -l) -gt 0 ]; then
|
if [ $(ls $old_dir | wc -l) -gt 0 ]; then
|
||||||
mv /srv/walnut/packages/client-api-grants/* /srv/walnut/etc/client-api-grants/
|
mv ${old_dir}/* ${new_dir}/
|
||||||
fi
|
fi
|
||||||
rm -r /srv/walnut/packages/client-api-grants
|
rm -r ${old_dir}
|
||||||
#rmdir /srv/walnut/packages/client-api-grants
|
#rmdir ${old_dir}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ln -snf $new_dir $old_dir
|
ln -snf $new_dir $old_dir
|
||||||
|
|
Loading…
Reference in New Issue