mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 16:33:09 +01:00
pentoo-updater: sync for users
This commit is contained in:
parent
37d7c2d8db
commit
31c6d37f13
1 changed files with 3 additions and 1 deletions
|
|
@ -2,8 +2,10 @@
|
||||||
source /etc/profile
|
source /etc/profile
|
||||||
env-update
|
env-update
|
||||||
|
|
||||||
if [ -n "${clst_target}" ]; then
|
if [ -n "${clst_target}" ]; then #we are in catalyst
|
||||||
emerge --info > /var/log/portage/emerge-info/emerge-info-$(date "+%Y%m%d").txt
|
emerge --info > /var/log/portage/emerge-info/emerge-info-$(date "+%Y%m%d").txt
|
||||||
|
else #we are on a user system
|
||||||
|
emerge --sync
|
||||||
fi
|
fi
|
||||||
|
|
||||||
safe_exit() {
|
safe_exit() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue