blob: 82f8751e2b69146544bf885a05f8bb891cbebe19 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/bash
emerge --sync
if [[ ! -d /mnt/packages-tree/gentoo/ ]]; then
cd /mnt/packages-tree || exit 1
git clone https://anongit.gentoo.org/git/repo/gentoo.git
else
cd /mnt/packages-tree/gentoo/ || exit 1
git pull --rebase &>/dev/null
fi
/var/www/packages.gentoo.org/htdocs/bin/update-md5.sh
/var/www/packages.gentoo.org/htdocs/bin/update-use.sh
cd /var/www/packages.gentoo.org/htdocs || exit 1
bundle exec rake kkuleomi:update:all RAILS_ENV=${1:-development} &>/dev/null
|