Specify this option to skip all dependency checks
This commit is contained in:
Steven Penny 2015-09-06 14:12:53 -05:00
parent a517b08c94
commit 395caa566e
1 changed files with 8 additions and 2 deletions

10
apt-cyg
View File

@ -462,6 +462,7 @@ function apt-install {
mv /etc/setup/installed.db /etc/setup/installed.db-save
mv /tmp/awk.$$ /etc/setup/installed.db
[ -v nodeps ] && continue
# recursively install required packages
requires=$(awk '$1=="requires", $0=$2' FS=': ' desc)
@ -488,7 +489,7 @@ function apt-install {
# run all postinstall scripts
(( noscripts )) && continue
[ -v noscripts ] && continue
find /etc/postinstall -name '*.sh' | while read script
do
echo Running $script
@ -609,10 +610,15 @@ then
fi
# process options
while (( $# ))
until [ $# = 0 ]
do
case "$1" in
--nodeps)
nodeps=1
shift
;;
--noscripts)
noscripts=1
shift