fixed updater

fixed updater when cache dir and installation dir are on different disks.