Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
I
inary
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
1
Konular (issue)
1
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
SulinOS
inary
Commits
dd4984e5
Kaydet (Commit)
dd4984e5
authored
Eyl 18, 2020
tarafından
Your Name
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
improvement inary cr
üst
dfe65ecf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
checkrelation.py
inary/cli/checkrelation.py
+4
-4
No files found.
inary/cli/checkrelation.py
Dosyayı görüntüle @
dd4984e5
...
...
@@ -71,6 +71,7 @@ Usage: check-relation
installed
.
sort
()
need_reinstall
=
[]
broken_packages
=
[]
for
pkg
in
installed
:
for
p
in
self
.
installdb
.
get_package
(
pkg
)
.
runtimeDependencies
():
...
...
@@ -78,9 +79,8 @@ Usage: check-relation
if
not
self
.
installdb
.
has_package
(
str
(
p
.
package
)):
need_reinstall
.
append
(
p
.
package
)
sys
.
stderr
.
write
(
_
(
"Missing: - {}"
)
.
format
(
p
.
package
)
+
"
\n
"
)
self
.
fix_reinstall
(
need_reinstall
)
_
(
"Missing: - {} : Needed by: - {}"
)
.
format
(
p
.
package
,
pkg
)
+
"
\n
"
)
if
self
.
options
.
force
:
for
pkg
in
installed
:
pkgname
=
pkg
...
...
@@ -91,4 +91,4 @@ Usage: check-relation
need_reinstall
.
append
(
pkg
)
sys
.
stderr
.
write
(
_
(
"Missing: /{} - {}"
)
.
format
(
f
.
path
,
pkg
)
+
"
\n
"
)
self
.
fix_reinstall
(
need_reinstall
)
self
.
fix_reinstall
(
need_reinstall
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment