source: projects/self-build-setup/trunk/check-self-build.lua @ 419

Revision 419, 437 bytes checked in by munepi, 12 years ago (diff)

added self-build-setup

  • Property svn:executable set to *
Line 
1-- This execute additional check just after dependency is solved.
2-- Aboid to install more than 2 self-build-* packages at same time.
3
4cklist = ""
5
6list = pkglist()
7for i, pkg in pairs(list) do
8    if statinstall(pkg) or statnewinstall(pkg) then
9        cklist = cklist.." "..pkgname(pkg)
10    end
11end 
12
13if cklist then
14    if os.execute("/usr/lib/rpm/check-self-build.sh "..cklist) ~= 0 then
15        apterror(_("Aborting Install."))
16    end
17end
Note: See TracBrowser for help on using the repository browser.