fixed incomplete changed from commit dc226f8

This commit is contained in:
tigerbot 2017-06-21 15:22:46 -06:00
parent 3fbd2115fd
commit 4e7c682b4f
1 changed files with 3 additions and 3 deletions

View File

@ -92,10 +92,10 @@ mvdir_backward_compat()
if [ -d $old_dir ]; 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
rm -r /srv/walnut/packages/client-api-grants
#rmdir /srv/walnut/packages/client-api-grants
rm -r ${old_dir}
#rmdir ${old_dir}
fi
ln -snf $new_dir $old_dir