文件操作 - dh_listpackages
返回文件管理
返回主菜单
删除本文件
文件: /usr/bin/dh_listpackages
编辑文件内容
#!/usr/bin/perl =head1 NAME dh_listpackages - list binary packages debhelper will act on =cut use strict; use warnings; use Debian::Debhelper::Dh_Lib; our $VERSION = DH_BUILTIN_VERSION; =head1 SYNOPSIS B<dh_listpackages> [S<I<debhelper options>>] =head1 DESCRIPTION B<dh_listpackages> is a debhelper program that outputs a list of all binary packages debhelper commands will act on. If you pass it some options, it will change the list to match the packages other debhelper commands would act on if passed the same options. Packages are listed in the order they appear in F<debian/control>. =cut $dh{BLOCK_NOOP_WARNINGS}=1; init(inhibit_log => 1); print join("\n",@{$dh{DOPACKAGES}})."\n"; =head1 SEE ALSO L<debhelper(7)> This program is a part of debhelper. =head1 AUTHOR Joey Hess <joeyh@debian.org> =cut
修改文件时间
将文件时间修改为当前时间的前一年
删除文件