diff --git a/apt-cyg b/apt-cyg index bae56e2..13212a3 100755 --- a/apt-cyg +++ b/apt-cyg @@ -30,25 +30,25 @@ then exit 1 fi -ARCH=$(arch | sed s.i6.x.) +ARCH=${HOSTTYPE/i6/x} function usage () { sed '1d;$d' <<< ' usage: apt-cyg [command] [options] [packages] Commands: - install install packages - remove remove packages - update update setup.ini - list [patterns] list packages matching given pattern. If no - pattern is given, list all installed packages. - listfiles list files owned by packages - show Displays the package records for the named packages - depends performs recursive dependency listings - rdepends Display packages which require X to be installed, - AKA show reverse dependencies - search search for a filename from installed packages - searchall search for a filename from all available packages + install Install packages + remove Remove packages + update Update setup.ini + show Displays the package records for the named packages + depends Performs recursive dependency listings + rdepends Display packages which require X to be installed, + AKA show reverse dependencies + list List packages matching given pattern. If no pattern is given, + list all installed packages. + listfiles List files owned by packages + search Search for a filename from installed packages + searchall Search for a filename from all available packages Options: -c, --cache set cache