Urpmi hotfix
This commit is contained in:
parent
aeeca18377
commit
c891e72eca
|
@ -60,7 +60,7 @@ class Platform < ActiveRecord::Base
|
||||||
tail = (pl.id != self.id && pl.distrib_type == APP_CONFIG['distr_types'].first) ? "/$ARCH/main/release" : ""
|
tail = (pl.id != self.id && pl.distrib_type == APP_CONFIG['distr_types'].first) ? "/$ARCH/main/release" : ""
|
||||||
head = pl.hidden? ? "http://#{ local_pair[:login] }@#{ local_pair[:pass] }:#{ host }/private/" : "http://#{ host }/downloads/"
|
head = pl.hidden? ? "http://#{ local_pair[:login] }@#{ local_pair[:pass] }:#{ host }/private/" : "http://#{ host }/downloads/"
|
||||||
urpmi_commands << [
|
urpmi_commands << [
|
||||||
"urpmi.addmedia #{ head }#{ pl.owner.try(:uname) }/repository/#{ pl.name }#{ tail }",
|
"urpmi.addmedia #{ head }#{ self.unixname) }/repository/#{ pl.name }#{ tail }",
|
||||||
pl.name
|
pl.name
|
||||||
]
|
]
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue