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
2a2e84ef
Kaydet (Commit)
2a2e84ef
authored
May 11, 2020
tarafından
Suleyman Poyraz
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Update inary/operations/helper.py, inary/cli/install.py files
üst
3afd8486
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
install.py
inary/cli/install.py
+0
-1
helper.py
inary/operations/helper.py
+7
-2
No files found.
inary/cli/install.py
Dosyayı görüntüle @
2a2e84ef
...
...
@@ -116,7 +116,6 @@ expanded to package names.
reinstall
=
bool
(
packages
)
and
packages
[
0
]
.
endswith
(
ctx
.
const
.
package_suffix
)
install
.
install
(
packages
,
ctx
.
get_option
(
'reinstall'
)
or
reinstall
)
config_changes
=
helper
.
check_config_changes
([
util
.
parse_package_name_legacy
(
i
.
split
(
"/"
)[
-
1
])[
0
]
for
i
in
packages
])
if
not
self
.
options
.
ignore_sysconf
:
...
...
inary/operations/helper.py
Dosyayı görüntüle @
2a2e84ef
...
...
@@ -195,8 +195,13 @@ def get_package_requirements(packages):
return
requirements
def
check_config_changes
(
order
):
def
check_config_changes
(
opt
=
None
,
order
):
if
not
opt
:
import
inary.data.history
as
History
history
=
History
.
History
()
opt
=
history
.
_get_latest
()
print
(
opt
)
config_changes
=
dict
()
for
package
in
order
:
...
...
@@ -207,7 +212,7 @@ def check_config_changes(order):
newconfig
=
[]
for
path
in
config_paths
:
if
os
.
path
.
exists
(
path
)
and
os
.
path
.
exists
(
path
+
".newconfig-byinary"
):
if
os
.
path
.
exists
(
path
)
and
os
.
path
.
exists
(
path
):
newconfig
.
append
(
path
)
if
newconfig
:
config_changes
[
package
]
=
newconfig
...
...
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