mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-09 04:51:27 +02:00
pentoo-system: make pentoo-updater find the repo instead of being a broken symlink
This commit is contained in:
parent
743f44748c
commit
ebea41690e
2 changed files with 8 additions and 1 deletions
7
pentoo/pentoo-system/files/pentoo-updater
Normal file
7
pentoo/pentoo-system/files/pentoo-updater
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
for i in /var/db/repos /var/lib/layman; do
|
||||
if [ -x "${i}"/pentoo/scripts/pentoo-updater.sh ]; then
|
||||
exec "${i}"/pentoo/scripts/pentoo-updater.sh
|
||||
exit $?
|
||||
fi
|
||||
done
|
||||
|
|
@ -162,7 +162,7 @@ src_install() {
|
|||
insinto /etc/portage/repos.conf
|
||||
doins "${FILESDIR}/pentoo.conf"
|
||||
|
||||
dosym /var/db/repos/pentoo/scripts/pentoo-updater.sh /usr/sbin/pentoo-updater
|
||||
dosbin "${FILESDIR}"/pentoo-updater
|
||||
|
||||
#/etc/portage/postsync.d
|
||||
exeinto /etc/portage/postsync.d
|
||||
Loading…
Reference in a new issue