Skip to content

Commit

Permalink
fix package installation routine
Browse files Browse the repository at this point in the history
Signed-off-by: Chris “Kwpolska” Warrick <[email protected]>
  • Loading branch information
Kwpolska committed May 24, 2014
1 parent 2ad4dae commit 26271c5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pkgbuilder/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,11 @@ def install(pkgpaths, sigpaths, asdeps, uopt=''):
DS.log.info('pkgs={0}; sigs={1}'.format(pkgpaths, sigpaths))
DS.log.debug('mv {0} {1} /var/cache/pacman/pkg/'.format(pkgpaths,
sigpaths))
DS.fancy_msg2('Moving to /var/cache/pacan/pkg/...')
DS.sudo(['mv'] + pkgpaths + sigpaths + ['/var/cache/pacman/pkg/'])
DS.fancy_msg2('Moving to /var/cache/pacman/pkg/...')
mvexit = 256
while mvexit != 0:
mvexit = DS.sudo(['mv'] + pkgpaths + sigpaths +
['/var/cache/pacman/pkg/'])

npkgpaths = ['/var/cache/pacman/pkg/' + os.path.basename(i)
for i in pkgpaths]
Expand Down

0 comments on commit 26271c5

Please sign in to comment.