diff options
Diffstat (limited to 'virtual/miller-base')
-rwxr-xr-x | virtual/miller-base/files/update.portage.cron-2 | 2 | ||||
-rwxr-xr-x | virtual/miller-base/files/weekly-av-scan.cron | 2 | ||||
-rwxr-xr-x | virtual/miller-base/files/write-new-updates | 7 | ||||
-rw-r--r-- | virtual/miller-base/miller-base-9-r12.ebuild (renamed from virtual/miller-base/miller-base-9-r11.ebuild) | 0 |
4 files changed, 7 insertions, 4 deletions
diff --git a/virtual/miller-base/files/update.portage.cron-2 b/virtual/miller-base/files/update.portage.cron-2 index 59430f4..10e324f 100755 --- a/virtual/miller-base/files/update.portage.cron-2 +++ b/virtual/miller-base/files/update.portage.cron-2 @@ -1,6 +1,6 @@ #!/bin/bash -eval $(emerge --info -v | grep '^[A-Z_]\+="[^"]*"$') +eval $(emerge --info -v | grep '^PORTDIR="[^"]*"$') if df -l ${PORTDIR} 2> /dev/null > /dev/null ; then emerge --sync --quiet > /dev/null diff --git a/virtual/miller-base/files/weekly-av-scan.cron b/virtual/miller-base/files/weekly-av-scan.cron index df442f4..fe644d7 100755 --- a/virtual/miller-base/files/weekly-av-scan.cron +++ b/virtual/miller-base/files/weekly-av-scan.cron @@ -1,6 +1,6 @@ #!/bin/bash -eval $(emerge --info -v | grep '^[A-Z_]\+="[^"]*"$') +eval $(emerge --info -v | grep '^DISTDIR="[^"]*"$') nice clamscan -ri --cross-fs=no \ --exclude-dir=${DISTDIR} \ diff --git a/virtual/miller-base/files/write-new-updates b/virtual/miller-base/files/write-new-updates index a0de4c3..20a5bc2 100755 --- a/virtual/miller-base/files/write-new-updates +++ b/virtual/miller-base/files/write-new-updates @@ -1,6 +1,9 @@ #!/bin/bash -eval $(emerge --info -v | grep '^[A-Z_]\+="[^"]*"$') +eval $(emerge --info -v | grep '^UPDATESTATEDIR="[^"]*"$') updates="${UPDATESTATEDIR:-/tmp}/`hostname`_updates.txt" -emerge -uDNpvq --with-bdeps=y @world @system > ${updates} +tmp="/tmp/$$.updates" +emerge -uDNpvq --with-bdeps=y @world @system > ${tmp} +mv ${tmp} ${updates} + diff --git a/virtual/miller-base/miller-base-9-r11.ebuild b/virtual/miller-base/miller-base-9-r12.ebuild index a35da9d..a35da9d 100644 --- a/virtual/miller-base/miller-base-9-r11.ebuild +++ b/virtual/miller-base/miller-base-9-r12.ebuild |