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 [ $(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
|
||||
|
|
Loading…
Reference in New Issue