Simplify prefix shuffling in psm runScript()
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 13 May 2008 14:10:42 +0000 (17:10 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 13 May 2008 14:10:42 +0000 (17:10 +0300)
commit2d0a4329bddd8a644e87d8b00399096423cef2f5
treed932ebf682ac27270afefc5174a59282b0438ddd
parent56878483b7814ef4ef544783dbea2d833af6758c
Simplify prefix shuffling in psm runScript()
- use new style headerGet() and pass the entire tag container down to
  doScriptExec(), removing need for big bunch of local variables
- use rpmtd (iterator) methods for processing the prefixes in doScriptExec(),
  it does the right thing for legacy non-array RPMTAG_INSTALLPREFIX too
lib/psm.c