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)
0
Konular (issue)
0
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
ae39ef20
Kaydet (Commit)
ae39ef20
authored
Haz 13, 2006
tarafından
Eray Özkural
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
* add support for handling indo entries, but this doesn't quite
work because install-info command does not work as expected
üst
63f5cf41
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
1 deletion
+17
-1
atomicoperations.py
pisi/atomicoperations.py
+13
-1
build.py
pisi/build.py
+4
-0
No files found.
pisi/atomicoperations.py
Dosyayı görüntüle @
ae39ef20
...
...
@@ -107,6 +107,7 @@ class Install(AtomicOperation):
self
.
extract_install
()
self
.
store_pisi_files
()
self
.
update_environment
()
self
.
update_info
()
self
.
register_comar
()
self
.
postinstall
()
...
...
@@ -329,6 +330,11 @@ class Install(AtomicOperation):
# installed packages
ctx
.
packagedb
.
add_package
(
self
.
pkginfo
,
pisi
.
itembyrepodb
.
installed
,
txn
=
txn
)
def
update_info
(
self
):
for
x
in
self
.
files
.
list
:
if
x
.
type
==
'info'
:
os
.
system
(
'install-info /
%
s /usr/share/info/dir'
%
x
.
path
)
def
update_environment
(
self
):
# check if we have any shared objects or anything under
# /etc/env.d
...
...
@@ -391,7 +397,7 @@ class Remove(AtomicOperation):
self
.
check_dependencies
()
self
.
run_preremove
()
self
.
update_info
()
for
fileinfo
in
self
.
files
.
list
:
self
.
remove_file
(
fileinfo
)
...
...
@@ -475,6 +481,12 @@ class Remove(AtomicOperation):
ctx
.
filesdb
.
remove_files
(
self
.
files
,
txn
)
pisi
.
packagedb
.
remove_tracking_package
(
self
.
package_name
,
txn
)
def
update_info
(
self
):
for
x
in
self
.
files
.
list
:
if
x
.
type
==
'info'
:
os
.
system
(
'install-info --delete /
%
s /usr/share/info/dir '
%
x
.
path
)
def
remove_single
(
package_name
):
Remove
(
package_name
)
.
run
()
...
...
pisi/build.py
Dosyayı görüntüle @
ae39ef20
...
...
@@ -342,6 +342,10 @@ class Builder:
# install function is mandatory!
self
.
run_action_function
(
ctx
.
const
.
install_func
,
True
)
self
.
set_state
(
"installaction"
)
infodir
=
join
(
self
.
pkg_install_dir
(),
'/usr/share/info/dir'
)
if
os
.
path
.
exists
(
infodir
):
os
.
unlink
(
infodir
)
def
get_abandoned_files
(
self
):
# return the files those are not collected from the install dir
...
...
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