Đoàn Trần Công Danh 935c2e21ff waydroid: fix fresh install
2022-12-29 23:19:02 +07:00

9 lines
246 B
Plaintext

case "$ACTION" in
post)
if [ ! -f ./var/lib/waydroid/waydroid.cfg ]; then return 0; fi
if [ ! -f ./var/lib/waydroid/waydroid_base.prop ]; then return 0; fi
echo "Regenerating Waydroid configs..."
waydroid upgrade --offline || exit 0
;;
esac