Changeset 78


Ignore:
Timestamp:
11/17/06 11:49:09 (17 years ago)
Author:
kdeugau
Message:

/trunk

*sigh* Switch order of chown/chgrp and chmod commands used to hack
%attr support into postinst. chown/chgrp apparently reset little
things like setuid. >:(

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/debbuild

    r77 r78  
    577577# handling component (dpkg-deb), this can't really be done "properly".  We'll have
    578578# to add chown/chmod commands to the postinst instead.  Feh.
    579             $pkgdata{$pkgname}{'post'} .= "chmod $perms $filelist\n" if $perms ne '-';
    580579            $pkgdata{$pkgname}{'post'} .= "chown $owner $filelist\n" if $owner ne '-';
    581580            $pkgdata{$pkgname}{'post'} .= "chgrp $group $filelist\n" if $group ne '-';
     581            $pkgdata{$pkgname}{'post'} .= "chmod $perms $filelist\n" if $perms ne '-';
    582582          }
    583583
Note: See TracChangeset for help on using the changeset viewer.