- if (@tomove) {
- if (! -d $TMP) {
- doit("install","-d",$TMP);
- }
- # Now we need to expand wildcards in @tomove.
+ # Now we need to expand wildcards in @tomove.
+ # This is only necessary in pre-v3 land -- as of v3, the
+ # expension is automatically done by filearray().
+ if (@tomove && ! Debian::Debhelper::Dh_Lib::compat(3)) {