#982666 migrationtools: Add symlink to migrate_common.ph in /usr/share/perl5

#982666#5
Date:
2021-02-13 04:19:41 UTC
From:
To:
Hi,

Could you please consider adding a symlink to migrate_common.ph in
/usr/share/perl5? This allows the scripts in /usr/share/migrationtools
to be run from any directory, not just by being in the same directory.

In Ubuntu, the attached patch was applied to achieve the following:

    - d/links: Add symlink for migrate_common.ph in /usr/share/perl5 instead
      of /usr/share/migrationtools so that scripts can be run from any
      directory.

Thanks for considering the patch.

Logan

#982666#10
Date:
2022-02-24 15:19:26 UTC
From:
To:
Hi,

so this issue just bit me on a newly created Bullseye. Instead of dealing with
symlinks or copying files around, I just ran the scripts by including
/etc/migrationtools in INC:

PERL5LIB="${PERL5LIB}:/etc/migrationtools" ./migrate_...

IMHO this should be fixed one way or another in Bullseye.

Regards, Daniel