mirror of
https://github.com/arcan1s/arcanis.me.git
synced 2025-04-24 23:37:19 +00:00
edited comments
This commit is contained in:
parent
97143e201a
commit
f26431920e
@ -123,7 +123,7 @@ func_build() {
|
|||||||
}
|
}
|
||||||
export -f func_build
|
export -f func_build
|
||||||
|
|
||||||
# building
|
# сборка
|
||||||
echo -e "${bwhite}[II]${cclose} Building packages"
|
echo -e "${bwhite}[II]${cclose} Building packages"
|
||||||
cd "${STAGINGDIR}"
|
cd "${STAGINGDIR}"
|
||||||
/usr/bin/find -name 'PKGBUILD' -type f -execdir /usr/bin/bash -c "func_build "${PREPAREDIR}" "${ROOTDIR}"" \;
|
/usr/bin/find -name 'PKGBUILD' -type f -execdir /usr/bin/bash -c "func_build "${PREPAREDIR}" "${ROOTDIR}"" \;
|
||||||
@ -137,7 +137,7 @@ username ALL=NOPASSWD: /usr/bin/multilib-staging-build
|
|||||||
|
|
||||||
<h3><a name="signing" class="anchor" href="#signing"><span class="octicon octicon-link"></span></a>Подпись пакетов</h3>
|
<h3><a name="signing" class="anchor" href="#signing"><span class="octicon octicon-link"></span></a>Подпись пакетов</h3>
|
||||||
{% highlight bash %}
|
{% highlight bash %}
|
||||||
# signing
|
# подпись
|
||||||
if [ ${USEGPG} == "yes" ]; then
|
if [ ${USEGPG} == "yes" ]; then
|
||||||
echo -e "${bwhite}[II]${cclose} Signing"
|
echo -e "${bwhite}[II]${cclose} Signing"
|
||||||
cd "${PREPAREDIR}"
|
cd "${PREPAREDIR}"
|
||||||
@ -150,7 +150,7 @@ fi
|
|||||||
|
|
||||||
<h3><a name="list" class="anchor" href="#list"><span class="octicon octicon-link"></span></a>Создание списка пакетов</h3>
|
<h3><a name="list" class="anchor" href="#list"><span class="octicon octicon-link"></span></a>Создание списка пакетов</h3>
|
||||||
{% highlight bash %}
|
{% highlight bash %}
|
||||||
# creating packages list
|
# создание списка пакетов
|
||||||
cd "${PREPAREDIR}"
|
cd "${PREPAREDIR}"
|
||||||
i686_PACKAGES=$(/usr/bin/find * -name '*-i686.pkg.tar.xz' -o -name '*-any.pkg.tar.xz')
|
i686_PACKAGES=$(/usr/bin/find * -name '*-i686.pkg.tar.xz' -o -name '*-any.pkg.tar.xz')
|
||||||
x86_64_PACKAGES=$(/usr/bin/find * -name '*-x86_64.pkg.tar.xz' -o -name '*-any.pkg.tar.xz')
|
x86_64_PACKAGES=$(/usr/bin/find * -name '*-x86_64.pkg.tar.xz' -o -name '*-any.pkg.tar.xz')
|
||||||
@ -169,7 +169,7 @@ func_remove() {
|
|||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
<p align="justify">Обновление репозитория <code>i686</code>:</p>
|
<p align="justify">Обновление репозитория <code>i686</code>:</p>
|
||||||
{% highlight bash %}
|
{% highlight bash %}
|
||||||
# updating i686 repo
|
# обновление репозитория i686
|
||||||
echo -e "${bwhite}[II]${cclose} Updating ${bwhite}i686${cclose} repo"
|
echo -e "${bwhite}[II]${cclose} Updating ${bwhite}i686${cclose} repo"
|
||||||
cd "${REPODIR}/i686"
|
cd "${REPODIR}/i686"
|
||||||
for PACKAGE in ${i686_PACKAGES}; do
|
for PACKAGE in ${i686_PACKAGES}; do
|
||||||
@ -183,7 +183,7 @@ done
|
|||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
<p align="justify">Обновление репозитория <code>x86_64</code>:</p>
|
<p align="justify">Обновление репозитория <code>x86_64</code>:</p>
|
||||||
{% highlight bash %}
|
{% highlight bash %}
|
||||||
# updating x86_64 repo
|
# обновление репозитория x86_64
|
||||||
echo -e "${bwhite}[II]${cclose} Updating ${bwhite}x86_64${cclose} repo"
|
echo -e "${bwhite}[II]${cclose} Updating ${bwhite}x86_64${cclose} repo"
|
||||||
cd "${REPODIR}/x86_64"
|
cd "${REPODIR}/x86_64"
|
||||||
for PACKAGE in ${x86_64_PACKAGES}; do
|
for PACKAGE in ${x86_64_PACKAGES}; do
|
||||||
@ -198,7 +198,7 @@ done
|
|||||||
|
|
||||||
<h3><a name="clear" class="anchor" href="#clear"><span class="octicon octicon-link"></span></a>Очистка</h3>
|
<h3><a name="clear" class="anchor" href="#clear"><span class="octicon octicon-link"></span></a>Очистка</h3>
|
||||||
{% highlight bash %}
|
{% highlight bash %}
|
||||||
# clear
|
# очистка
|
||||||
cd "${PREPAREDIR}"
|
cd "${PREPAREDIR}"
|
||||||
/usr/bin/rm -rf *
|
/usr/bin/rm -rf *
|
||||||
cd "${STAGINGDIR}"
|
cd "${STAGINGDIR}"
|
||||||
|
Loading…
Reference in New Issue
Block a user