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
e8ed3024
Kaydet (Commit)
e8ed3024
authored
Şub 07, 2020
tarafından
Ali Rıza Keskin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sulinstrapt eklendi
üst
4088b928
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
72 additions
and
1 deletion
+72
-1
Makefile
Makefile
+2
-1
util.py
inary/util.py
+1
-0
sulinstrapt
scripts/sulinstrapt
+26
-0
update-inary-cache
scripts/update-inary-cache
+16
-0
setup.py
setup.py
+2
-0
bash-complete.sh
shell-complete/bash-complete.sh
+25
-0
No files found.
Makefile
Dosyayı görüntüle @
e8ed3024
...
@@ -8,4 +8,5 @@ build:
...
@@ -8,4 +8,5 @@ build:
python3 setup.py build
python3 setup.py build
install
:
install
:
python3 setup.py
install
python3 setup.py
install
install
inary-cli /usr/bin/inary
ln
-s
/usr/bin/inary-cli /usr/bin/inary
||
true
install
shell-complete/bash-complete.sh /usr/share/bash-completion/completions/inary
inary/util.py
Dosyayı görüntüle @
e8ed3024
...
@@ -393,6 +393,7 @@ def mvprintw(x,y,msg=''):
...
@@ -393,6 +393,7 @@ def mvprintw(x,y,msg=''):
printw
(
msg
)
printw
(
msg
)
def
noecho
(
enabled
=
True
):
def
noecho
(
enabled
=
True
):
if
(
ctx
.
get_option
(
'no_color'
)
==
False
):
if
(
enabled
):
if
(
enabled
):
printw
(
"
\x1b
[?25l"
)
printw
(
"
\x1b
[?25l"
)
else
:
else
:
...
...
scripts/sulinstrapt
0 → 100644
Dosyayı görüntüle @
e8ed3024
#!/bin/sh
#sulinstrapt betiği ile sulinos chroot oluşturabilirsiniz veya diskinize kurulum yapabilirsiniz
if
[
"
$1
"
==
""
]
||
[
"
$1
"
==
"-*"
]
then
echo
"Usage: sulinstrapt [directory]"
exit
0
fi
sulin
=
"
$1
"
if
[
$UID
-ne
0
]
then
echo
"You must be root!"
exit
1
fi
if
[
-d
"
$sulin
"
]
then
echo
"
$sulin
already exist"
fi
if
[
-f
"
$sulin
"
]
then
echo
"
$sulin
is a file. You must delete or move."
exit
1
fi
inary ar sulin https://master.dl.sourceforge.net/project/sulinos/SulinRepository/inary-index.xml
-D
$sulin
inary it
-c
system.base
-y
--ignore-scom
-D
$sulin
cp
-prf
$sulin
/usr/share/baselayout/
*
$sulin
/etc/
scripts/update-inary-cache
0 → 100755
Dosyayı görüntüle @
e8ed3024
#!/bin/bash
if
[
$UID
-ne
0
]
;
then
echo
"You must be root!"
exit
1
fi
inary dc
inary ur
echo
echo
"Listing avaiable..."
inary la
--no-color
|
awk
-F
' '
'{print $1}'
>
/var/cache/inary/avaiable
echo
"Listing installed..."
inary li
--no-color
|
awk
-F
' '
'{print $1}'
>
/var/cache/inary/installed
echo
"Listing repos..."
ls
/var/lib/inary/index/
>
/var/cache/inary/repos
echo
echo
"Done"
setup.py
Dosyayı görüntüle @
e8ed3024
...
@@ -205,6 +205,8 @@ setup(name="inary",
...
@@ -205,6 +205,8 @@ setup(name="inary",
scripts
=
[
'inary-cli'
,
scripts
=
[
'inary-cli'
,
'scripts/pspec2po'
,
'scripts/pspec2po'
,
'scripts/revdep-rebuild'
,
'scripts/revdep-rebuild'
,
'scripts/sulinstrapt'
,
'scripts/update-inary-cache'
,
'scripts/version-bump'
],
'scripts/version-bump'
],
classifiers
=
[
classifiers
=
[
'Development Status :: 5 - Production/Stable'
,
'Development Status :: 5 - Production/Stable'
,
...
...
shell-complete/bash-complete.sh
0 → 100644
Dosyayı görüntüle @
e8ed3024
_inary
()
{
local
cur prev opts
COMPREPLY
=()
cur
=
"
${
COMP_WORDS
[COMP_CWORD]
}
"
prev
=
"
${
COMP_WORDS
[COMP_CWORD-1]
}
"
opts
=
"ar bl bi check cm cp dc dt dr em emup er fc graph hs ix info it la lc li ln ln lp lr lu rdb rp ro rr sr sf ur up"
if
[[
${
cur
}
==
*
]]
&&
[
${
prev
}
==
inary
]
;
then
COMPREPLY
=(
$(
compgen
-W
"
${
opts
}
"
--
${
cur
})
)
fi
if
[[
${
cur
}
==
*
]]
&&
[
${
prev
}
==
it
]
;
then
avaiable
=
$(
cat
/var/cache/inary/avaiable
)
COMPREPLY
=(
$(
compgen
-W
"
${
avaiable
}
"
--
${
cur
})
)
fi
if
[[
${
cur
}
==
*
]]
&&
[
${
prev
}
==
rm
]
;
then
avaiable
=
$(
cat
/var/cache/inary/installed
)
COMPREPLY
=(
$(
compgen
-W
"
${
avaiable
}
"
--
${
cur
})
)
fi
if
[[
${
cur
}
==
*
]]
&&
[
${
prev
}
==
rr
]
;
then
avaiable
=
$(
cat
/var/cache/inary/repos
)
COMPREPLY
=(
$(
compgen
-W
"
${
avaiable
}
"
--
${
cur
})
)
fi
}
complete
-F
_inary inary
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