1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-06-14 10:51:41 +00:00

Added or edited file headers.

This commit is contained in:
Sorin Ionescu
2012-01-31 23:37:51 -05:00
parent e1a71a84b1
commit b96bbca51c
71 changed files with 527 additions and 108 deletions

View File

@ -1,4 +1,11 @@
# Create a simple script that can be used to 'duplicate' a system.
#
# Generates a script that can be used to duplicate a dpkg-based system.
#
# Authors:
# Daniel Bolton <danielbarrettbolton@gmail.com>
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
print '#!/bin/sh'"\n" > apt-copy.sh
list=$(perl -m'AptPkg::Cache' -e '$c=AptPkg::Cache->new; for (keys %$c){ push @a, $_ if $c->{$_}->{'CurrentState'} eq 'Installed';} print "$_ " for sort @a;')