fix: fix invalid trigger logic
This should check if file is already generated or it or if there is just no server configured. These are two separate conditions when there is no need to do migration. The first case is when migration is done and second case is when there just nothing to migrate. This should have minor impact. It only removes error: fix-dhparam-to-cagen/postinst: switch: CA 'openvpn' doesn't exist This attempted to migration when there was no configuration. This is not case when migration is required but not performed and thus there should be no real issue we need to address.
Please register or sign in to comment