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