/[gentoo-x86]/autocompile.sh
Gentoo

Diff of /autocompile.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.6 Revision 1.7
7C_OK=$'\e[32m' 7C_OK=$'\e[32m'
8C_NO=$'\e[31m' 8C_NO=$'\e[31m'
9PORTDIR=/usr/portage 9PORTDIR=/usr/portage
10LOGDIR=$ROOT/tmp/portage-log 10LOGDIR=$ROOT/tmp/portage-log
11STEPS="check fetch clean unpack compile install qmerge clean" 11STEPS="check fetch clean unpack compile install qmerge clean"
12#STEPS="check unmerge"
12 13
13do_step() { 14do_step() {
14 15
15 local tmpp 16 local tmpp
16 tmpd=`pwd` 17 tmpd=`pwd`
72 73
73 if [ -f "$myd" ] 74 if [ -f "$myd" ]
74 then 75 then
75 76
76 # Check if installed 77 # Check if installed
77 if [ -d ${ROOT}var/db/pkg/$myc/$myp ] 78 if [ -d ${ROOT}/var/db/pkg/$myc/$myp ]
78 then 79 then
79 continue 80 continue
80 fi 81 fi
81 82
82 echo "$C_NORMAL$myp ($myc)" 83 echo "$C_NORMAL$myp ($myc)"
99 fi 100 fi
100 101
101 else 102 else
102 echo "!!! $myd does not exists !" 103 echo "!!! $myd does not exists !"
103 fi 104 fi
105 ldconfig -r $ROOT &> /dev/null
104done 106done

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.20