- #touch "${T}/${SYS_USER_UID}" || die
- #insinto "/var/lib/sys-user"
- #doins "${T}/${SYS_USER_UID}"
+ # The other way that SYS_USER_UID could be empty is during an
+ # upgrade; however, if you're doing an upgrade and the new UID isn't
+ # important, then you'll get the same old UID that exists on the
+ # system from the old package. That old UID is assigned to SYS_USER_UID
+ # in sys-user_src_configure(), so that case is handled too.
+ touch "${T}/${SYS_USER_UID}" || die
+ insinto "/var/lib/sys-user"
+ doins "${T}/${SYS_USER_UID}"