Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
0460b4d8
Commit
0460b4d8
authored
Mar 28, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add support for ALTServer distro
parent
a5beb245
Show whitespace changes
Inline
Side-by-side
Showing
44 changed files
with
71 additions
and
63 deletions
+71
-63
distr_info
bin/distr_info
+4
-1
epm-addrepo
bin/epm-addrepo
+2
-2
epm-autoremove
bin/epm-autoremove
+1
-1
epm-checksystem
bin/epm-checksystem
+1
-1
epm-dedup
bin/epm-dedup
+1
-1
epm-download
bin/epm-download
+1
-1
epm-install
bin/epm-install
+3
-3
epm-kernel_update
bin/epm-kernel_update
+1
-1
epm-release_downgrade
bin/epm-release_downgrade
+1
-1
epm-release_upgrade
bin/epm-release_upgrade
+2
-2
epm-remove
bin/epm-remove
+1
-2
epm-remove_old_kernels
bin/epm-remove_old_kernels
+1
-1
epm-removerepo
bin/epm-removerepo
+1
-1
epm-repack
bin/epm-repack
+6
-0
epm-repofix
bin/epm-repofix
+1
-1
epm-sh-install
bin/epm-sh-install
+1
-1
epm-site
bin/epm-site
+1
-1
epm-upgrade
bin/epm-upgrade
+1
-1
serv
bin/serv
+1
-1
serv-cat
bin/serv-cat
+1
-1
serv-exists
bin/serv-exists
+1
-1
serv-log
bin/serv-log
+1
-1
epm.sh
packed/epm.sh
+12
-12
serv.sh
packed/serv.sh
+5
-5
anydesk.sh
play.d/anydesk.sh
+1
-1
geogebra.sh
play.d/geogebra.sh
+1
-1
mssql-server.sh
play.d/mssql-server.sh
+1
-1
mssql-tools.sh
play.d/mssql-tools.sh
+1
-1
sferum.sh
play.d/sferum.sh
+1
-1
sputnik-browser.sh
play.d/sputnik-browser.sh
+1
-1
zoom.sh
play.d/zoom.sh
+1
-1
glibc-restore.sh
prescription.d/glibc-restore.sh
+1
-1
glusterfs7.sh
prescription.d/glusterfs7.sh
+1
-1
glusterfs8.sh
prescription.d/glusterfs8.sh
+1
-1
glusterfs9.sh
prescription.d/glusterfs9.sh
+1
-1
i586-fix.sh
prescription.d/i586-fix.sh
+1
-1
i586-remove.sh
prescription.d/i586-remove.sh
+1
-1
i586-wine-etersoft.sh
prescription.d/i586-wine-etersoft.sh
+1
-1
i586-wine-vanilla.sh
prescription.d/i586-wine-vanilla.sh
+1
-1
i586-wine.sh
prescription.d/i586-wine.sh
+1
-1
php7.sh
prescription.d/php7.sh
+1
-1
php8.sh
prescription.d/php8.sh
+1
-1
python2-remove.sh
prescription.d/python2-remove.sh
+1
-1
wine.sh
prescription.d/wine.sh
+1
-1
No files found.
bin/distr_info
View file @
0460b4d8
...
...
@@ -84,7 +84,7 @@ pkgmanager()
local
CMD
# FIXME: some problems with multibased distros (Server Edition on CentOS and Desktop Edition on Ubuntu)
case
$DISTRIB_ID
in
ALTLinux
)
ALTLinux
|ALTServer
)
#which ds-install 2>/dev/null >/dev/null && CMD=deepsolver-rpm
#which pkcon 2>/dev/null >/dev/null && CMD=packagekit-rpm
CMD
=
"apt-rpm"
...
...
@@ -301,6 +301,9 @@ elif distro gentoo-release ; then
DISTRIB_RELEASE
=
$(
basename
$MAKEPROFILE
)
echo
$DISTRIB_RELEASE
|
grep
-q
"[0-9]"
||
DISTRIB_RELEASE
=
$(
basename
"
$(
dirname
$MAKEPROFILE
)
"
)
#"
elif
[
"
$DISTRIB_ID
"
=
"ALTServer"
]
;
then
DISTRIB_RELEASE
=
$(
echo
$DISTRIB_RELEASE
|
sed
-e
"s/
\.
.*//g"
)
elif
distro slackware-version
;
then
DISTRIB_ID
=
"Slackware"
DISTRIB_RELEASE
=
"
$(
grep
-Eo
'[0-9]+\.[0-9]+'
$DISTROFILE
)
"
...
...
bin/epm-addrepo
View file @
0460b4d8
...
...
@@ -88,7 +88,7 @@ __epm_addrepo_altlinux()
epm repofix etersoft
return
0
;;
basealt|
altlinux
)
basealt|
ALTLinux|ALTServer
)
# TODO: setrepo?
assure_exists apt-repo
sudocmd apt-repo add
$branch
...
...
@@ -202,7 +202,7 @@ epm_addrepo()
local
repo
=
"
$*
"
case
$DISTRNAME
in
ALTLinux
)
ALTLinux
|ALTServer
)
# Note! Don't use quotes here
__epm_addrepo_altlinux
$repo
return
...
...
bin/epm-autoremove
View file @
0460b4d8
...
...
@@ -233,7 +233,7 @@ epm_autoremove()
{
case
$DISTRNAME
in
ALTLinux
)
ALTLinux
|ALTServer
)
if
[
"
$1
"
=
"-h"
]
||
[
"
$1
"
=
"--help"
]
||
[
"
$1
"
=
"help"
]
;
then
epm_autoremove_print_help
return
0
...
...
bin/epm-checksystem
View file @
0460b4d8
...
...
@@ -48,7 +48,7 @@ case $PMTYPE in
esac
case
$DISTRNAME
in
ALTLinux
)
ALTLinux
|ALTServer
)
epm_checksystem_
$DISTRNAME
;;
*
)
...
...
bin/epm-dedup
View file @
0460b4d8
...
...
@@ -50,7 +50,7 @@ try_fix_apt_rpm_dupls()
epm_dedup
()
{
case
"
$DISTRNAME
"
in
"ALTLinux"
)
ALTLinux|ALTServer
)
assure_exists /usr/share/apt/scripts/dedup.lua apt-scripts
if
[
-z
"
$direct
"
]
&&
[
-f
/usr/share/apt/scripts/dedup.lua
]
;
then
info
"Check for duplicates via apt-get dedup from apt-scripts (also you can use internal EPM dedup implementation with --direct option)"
...
...
bin/epm-download
View file @
0460b4d8
...
...
@@ -189,7 +189,7 @@ epm_download()
local
CMD
case
$DISTRNAME
-
$PMTYPE
in
ALTLinux-apt-rpm
)
ALTLinux-apt-rpm
|ALTServer-apt-rpm
)
__epm_download_alt
$*
return
;;
...
...
bin/epm-install
View file @
0460b4d8
...
...
@@ -266,7 +266,7 @@ __epm_check_if_rpm_already_installed()
__handle_direct_install
()
{
case
"
$DISTRNAME
"
in
"ALTLinux"
)
ALTLinux|ALTServer
)
load_helper epm-download
local
pkg url
for
pkg
in
$pkg_names
;
do
...
...
@@ -306,7 +306,7 @@ epm_install_files()
# sudo test -r FILE
# do not fallback to install_names if we have no permissions
case
"
$DISTRNAME
"
in
"ALTLinux"
)
ALTLinux|ALTServer
)
# TODO: replace with name changed function
__epm_check_if_try_install_deb
$@
&&
return
...
...
@@ -533,7 +533,7 @@ epm_print_install_names_command()
epm_install
()
{
if
[
"
$DISTRNAME
"
=
"ALTLinux"
]
;
then
if
[
"
$DISTRNAME
"
=
"ALTLinux"
]
||
[
"
$DISTRNAME
"
=
"ALTServer"
]
;
then
if
tasknumber
"
$pkg_names
"
>
/dev/null
;
then
assure_exists apt-repo
# TODO: add --auto support
...
...
bin/epm-kernel_update
View file @
0460b4d8
...
...
@@ -27,7 +27,7 @@ epm_kernel_update()
info
"Updating system kernel to the latest version..."
case
$DISTRNAME
in
ALTLinux
)
ALTLinux
|ALTServer
)
load_helper epm-query_package
if
!
__epm_query_package kernel-image
>
/dev/null
;
then
info
"No installed kernel packages, skipping update"
...
...
bin/epm-release_downgrade
View file @
0460b4d8
...
...
@@ -57,7 +57,7 @@ epm_release_downgrade()
export
EPMNOEATMYDATA
=
1
case
$DISTRNAME
in
ALTLinux
)
ALTLinux
|ALTServer
)
__epm_ru_update
||
fatal
# try to detect current release by repo
...
...
bin/epm-release_upgrade
View file @
0460b4d8
...
...
@@ -393,7 +393,7 @@ __switch_alt_to_distro()
__check_system
"
$TO
"
docmd epm upgrade
||
fatal
;;
"p8 Sisyphus"
|
"p9 Sisyphus"
|
"p10 Sisyphus"
|
"Sisyphus Sisyphus"
)
"p8 Sisyphus"
|
"p9 Sisyphus"
|
"p10 Sisyphus"
|
"
10 Sisyphus"
|
"
Sisyphus Sisyphus"
)
confirm_info
"Upgrade
$DISTRNAME
from
$FROM
to
$TO
..."
docmd epm
install
rpm apt
"
$(
get_fix_release_pkg
"
$FROM
"
)
"
||
fatal
docmd epm upgrade
||
fatal
...
...
@@ -440,7 +440,7 @@ epm_release_upgrade()
export
EPMNOEATMYDATA
=
1
case
$DISTRNAME
in
ALTLinux
)
ALTLinux
|ALTServer
)
__epm_ru_update
||
fatal
# TODO: remove this hack (or move it to distro_info)
...
...
bin/epm-remove
View file @
0460b4d8
...
...
@@ -280,7 +280,7 @@ epm_remove()
return
fi
if
[
"
$DISTRNAME
"
=
"ALTLinux"
]
;
then
if
[
"
$DISTRNAME
"
=
"ALTLinux"
]
||
[
"
$DISTRNAME
"
=
"ALTServer"
]
;
then
load_helper epm-sh-altlinux
if
tasknumber
"
$pkg_names
"
>
/dev/null
;
then
assure_exists apt-repo
...
...
@@ -341,4 +341,3 @@ epm_remove()
epm_remove_names
$pkg_names
}
bin/epm-remove_old_kernels
View file @
0460b4d8
...
...
@@ -25,7 +25,7 @@ epm_remove_old_kernels()
warmup_bases
case
$DISTRNAME
in
ALTLinux
)
ALTLinux
|ALTServer
)
load_helper epm-query_package
if
!
__epm_query_package kernel-image
>
/dev/null
;
then
info
"No installed kernel packages, skipping cleaning"
...
...
bin/epm-removerepo
View file @
0460b4d8
...
...
@@ -94,7 +94,7 @@ epm_removerepo()
{
case
$DISTRNAME
in
ALTLinux
)
ALTLinux
|ALTServer
)
__epm_removerepo_alt
"
$@
"
return
;;
...
...
bin/epm-repack
View file @
0460b4d8
...
...
@@ -179,7 +179,13 @@ EOF
__epm_repack_to_rpm
()
{
local
pkgs
=
"
$*
"
case
$DISTRNAME
in
ALTLinux|ALTServer
)
;;
*
)
assure_distr ALTLinux
"install --repack"
;;
esac
# install epm-repack for static (package based) dependencies
assure_exists fakeroot
||
fatal
...
...
bin/epm-repofix
View file @
0460b4d8
...
...
@@ -221,7 +221,7 @@ epm_repofix()
{
case
$DISTRNAME
in
ALTLinux
)
ALTLinux
|ALTServer
)
assure_exists apt-repo
[
-n
"
$quiet
"
]
||
docmd apt-repo list
assure_root
...
...
bin/epm-sh-install
View file @
0460b4d8
...
...
@@ -74,7 +74,7 @@ __epm_check_vendor()
[
-n
"
$scripts$noscripts
"
]
&&
return
# only ALT
[
"
$DISTRNAME
"
=
"ALTLinux"
]
||
return
[
"
$DISTRNAME
"
=
"ALTLinux"
]
||
[
"
$DISTRNAME
"
=
"ALTServer"
]
||
return
local
i
for
i
in
$*
;
do
...
...
bin/epm-site
View file @
0460b4d8
...
...
@@ -62,7 +62,7 @@ open_browser()
__query_package_hl_url
()
{
case
$DISTRNAME
in
ALTLinux
)
ALTLinux
|ALTServer
)
paoapi srpms/
$1
| get_pao_var url
;;
esac
...
...
bin/epm-upgrade
View file @
0460b4d8
...
...
@@ -29,7 +29,7 @@ epm_upgrade()
warmup_bases
if
[
"
$DISTRNAME
"
=
"ALTLinux"
]
;
then
if
[
"
$DISTRNAME
"
=
"ALTLinux"
]
||
[
"
$DISTRNAME
"
=
"ALTServer"
]
;
then
load_helper epm-sh-altlinux
if
tasknumber
"
$@
"
>
/dev/null
;
then
load_helper epm-addrepo
...
...
bin/serv
View file @
0460b4d8
...
...
@@ -53,7 +53,7 @@ set_service_type()
# TODO: see Running in distro_info, check is_aсtive_systemd
case
$DISTRNAME
in
ALTLinux
)
ALTLinux
|ALTServer
)
CMD
=
"service-chkconfig"
;;
Ubuntu|Debian|Mint|AstraLinux
)
...
...
bin/serv-cat
View file @
0460b4d8
...
...
@@ -28,7 +28,7 @@ serv_cat()
;;
*
)
case
$DISTRNAME
in
ALTLinux
)
ALTLinux
|ALTServer
)
local
INITFILE
=
/etc/init.d/
$SERVICE
[
-r
"
$INITFILE
"
]
||
fatal
"Can't find init file
$INITFILE
"
docmd
cat
$INITFILE
...
...
bin/serv-exists
View file @
0460b4d8
...
...
@@ -29,7 +29,7 @@ serv_exists()
;;
*
)
case
$DISTRNAME
in
ALTLinux
)
ALTLinux
|ALTServer
)
local
INITFILE
=
/etc/init.d/
$SERVICE
[
-r
"
$INITFILE
"
]
||
return
return
;;
...
...
bin/serv-log
View file @
0460b4d8
...
...
@@ -53,7 +53,7 @@ serv_log()
;;
*
)
case
$DISTRNAME
in
ALTLinux
)
ALTLinux
|ALTServer
)
FF
=
""
;
[
"
$1
"
=
"-f"
]
&&
FF
=
"-f"
__serv_log_altlinux
"
$SERVICE
"
$FF
return
;;
...
...
packed/epm.sh
View file @
0460b4d8
...
...
@@ -679,7 +679,7 @@ __epm_addrepo_altlinux()
epm repofix etersoft
return
0
;;
basealt|
altlinux
)
basealt|
ALTLinux|ALTServer
)
# TODO: setrepo?
assure_exists apt-repo
sudocmd apt-repo add
$branch
...
...
@@ -792,7 +792,7 @@ epm_addrepo()
local
repo
=
"
$*
"
case
$DISTRNAME
in
ALTLinux
)
ALTLinux
|ALTServer
)
# Note! Don't use quotes here
__epm_addrepo_altlinux
$repo
return
...
...
@@ -1276,7 +1276,7 @@ epm_autoremove()
{
case
$DISTRNAME
in
ALTLinux
)
ALTLinux
|ALTServer
)
if
[
"
$1
"
=
"-h"
]
||
[
"
$1
"
=
"--help"
]
||
[
"
$1
"
=
"help"
]
;
then
epm_autoremove_print_help
return
0
...
...
@@ -1696,7 +1696,7 @@ case $PMTYPE in
esac
case
$DISTRNAME
in
ALTLinux
)
ALTLinux
|ALTServer
)
epm_checksystem_
$DISTRNAME
;;
*
)
...
...
@@ -3393,7 +3393,7 @@ epm_kernel_update()
info
"Updating system kernel to the latest version..."
case
$DISTRNAME
in
ALTLinux
)
ALTLinux
|ALTServer
)
if
!
__epm_query_package kernel-image
>
/dev/null
;
then
info
"No installed kernel packages, skipping update"
return
...
...
@@ -4886,7 +4886,7 @@ epm_release_downgrade()
export
EPMNOEATMYDATA
=
1
case
$DISTRNAME
in
ALTLinux
)
ALTLinux
|ALTServer
)
__epm_ru_update
||
fatal
# try to detect current release by repo
...
...
@@ -5408,7 +5408,7 @@ epm_release_upgrade()
export
EPMNOEATMYDATA
=
1
case
$DISTRNAME
in
ALTLinux
)
ALTLinux
|ALTServer
)
__epm_ru_update
||
fatal
# TODO: remove this hack (or move it to distro_info)
...
...
@@ -5883,7 +5883,7 @@ epm_remove_old_kernels()
warmup_bases
case
$DISTRNAME
in
ALTLinux
)
ALTLinux
|ALTServer
)
if
!
__epm_query_package kernel-image
>
/dev/null
;
then
info
"No installed kernel packages, skipping cleaning"
return
...
...
@@ -6010,7 +6010,7 @@ epm_removerepo()
{
case
$DISTRNAME
in
ALTLinux
)
ALTLinux
|ALTServer
)
__epm_removerepo_alt
"
$@
"
return
;;
...
...
@@ -6671,7 +6671,7 @@ epm_repofix()
{
case
$DISTRNAME
in
ALTLinux
)
ALTLinux
|ALTServer
)
assure_exists apt-repo
[
-n
"
$quiet
"
]
||
docmd apt-repo list
assure_root
...
...
@@ -8305,7 +8305,7 @@ open_browser()
__query_package_hl_url
()
{
case
$DISTRNAME
in
ALTLinux
)
ALTLinux
|ALTServer
)
paoapi srpms/
$1
| get_pao_var url
;;
esac
...
...
@@ -8828,7 +8828,7 @@ pkgmanager()
local
CMD
# FIXME: some problems with multibased distros (Server Edition on CentOS and Desktop Edition on Ubuntu)
case
$DISTRIB_ID
in
ALTLinux
)
ALTLinux
|ALTServer
)
#which ds-install 2>/dev/null >/dev/null && CMD=deepsolver-rpm
#which pkcon 2>/dev/null >/dev/null && CMD=packagekit-rpm
CMD
=
"apt-rpm"
...
...
packed/serv.sh
View file @
0460b4d8
...
...
@@ -611,7 +611,7 @@ serv_cat()
;;
*
)
case
$DISTRNAME
in
ALTLinux
)
ALTLinux
|ALTServer
)
local
INITFILE
=
/etc/init.d/
$SERVICE
[
-r
"
$INITFILE
"
]
||
fatal
"Can't find init file
$INITFILE
"
docmd
cat
$INITFILE
...
...
@@ -764,7 +764,7 @@ serv_exists()
;;
*
)
case
$DISTRNAME
in
ALTLinux
)
ALTLinux
|ALTServer
)
local
INITFILE
=
/etc/init.d/
$SERVICE
[
-r
"
$INITFILE
"
]
||
return
return
;;
...
...
@@ -932,7 +932,7 @@ serv_log()
;;
*
)
case
$DISTRNAME
in
ALTLinux
)
ALTLinux
|ALTServer
)
FF
=
""
;
[
"
$1
"
=
"-f"
]
&&
FF
=
"-f"
__serv_log_altlinux
"
$SERVICE
"
$FF
return
;;
...
...
@@ -1369,7 +1369,7 @@ pkgmanager()
local
CMD
# FIXME: some problems with multibased distros (Server Edition on CentOS and Desktop Edition on Ubuntu)
case
$DISTRIB_ID
in
ALTLinux
)
ALTLinux
|ALTServer
)
#which ds-install 2>/dev/null >/dev/null && CMD=deepsolver-rpm
#which pkcon 2>/dev/null >/dev/null && CMD=packagekit-rpm
CMD
=
"apt-rpm"
...
...
@@ -2905,7 +2905,7 @@ set_service_type()
# TODO: see Running in distro_info, check is_aсtive_systemd
case
$DISTRNAME
in
ALTLinux
)
ALTLinux
|ALTServer
)
CMD
=
"service-chkconfig"
;;
Ubuntu|Debian|Mint|AstraLinux
)
...
...
play.d/anydesk.sh
View file @
0460b4d8
...
...
@@ -32,7 +32,7 @@ PKGMASK="$($DISTRVENDOR -p)/$(epm print constructname $PKGNAME "*" $arch '' '_')
# we miss obsoleted libpangox on ALT, so use RHEL8 build
# lib.req: WARNING: /usr/bin/anydesk: library libpangox-1.0.so.0 not found
[
"
$(
$DISTRVENDOR
-
d
)
"
=
"ALTLinux
"
]
&&
PKGMASK
=
"os-specific/rhel8/
$(
epm print constructname
$PKGNAME
"*"
$arch
)
"
[
"
$(
$DISTRVENDOR
-
s
)
"
=
"alt
"
]
&&
PKGMASK
=
"os-specific/rhel8/
$(
epm print constructname
$PKGNAME
"*"
$arch
)
"
PKG
=
"
$(
$EGET
--list
--latest
https://download.anydesk.com/linux
$PKGMASK
)
"
||
fatal
"Can't get package URL"
...
...
play.d/geogebra.sh
View file @
0460b4d8
...
...
@@ -18,7 +18,7 @@ esac
pkgtype
=
"
$(
$DISTRVENDOR
-p
)
"
repack
=
''
[
"
$(
$DISTRVENDOR
-
d
)
"
=
"ALTLinux
"
]
&&
repack
=
'--repack'
[
"
$(
$DISTRVENDOR
-
s
)
"
=
"alt
"
]
&&
repack
=
'--repack'
case
$pkgtype
in
deb
)
...
...
play.d/mssql-server.sh
View file @
0460b4d8
...
...
@@ -27,7 +27,7 @@ case "$($DISTRVENDOR -d)" in
epm
install
https://packages.microsoft.com/ubuntu/20.04/mssql-server-2019/pool/main/m/mssql-server/mssql-server_1
*
_amd64.deb
epm rr
$DEBREPO
;
epm update
;;
"ALTLinux"
)
ALTLinux|ALTServer
)
epm
install
--repack
https://packages.microsoft.com/rhel/8/mssql-server-2019/mssql-server-1
*
.x86_64.rpm
||
fatal
;;
*
)
...
...
play.d/mssql-tools.sh
View file @
0460b4d8
...
...
@@ -22,7 +22,7 @@ case "$($DISTRVENDOR -d)" in
#epm install https://packages.microsoft.com/ubuntu/16.04/prod/pool/main/m/msodbcsql17/msodbcsql17_1*_amd64.deb
epm
install
unixodbc
;;
"ALTLinux"
)
ALTLinux|ALTServer
)
epm
install
--repack
https://packages.microsoft.com/rhel/8/prod/mssql-tools-1
*
.x86_64.rpm
epm
install
--repack
https://packages.microsoft.com/rhel/8/prod/msodbcsql17-1
*
.x86_64.rpm
epm
install
unixODBC
...
...
play.d/sferum.sh
View file @
0460b4d8
...
...
@@ -19,7 +19,7 @@ case $arch in
esac
repack
=
''
[
"
$(
$DISTRVENDOR
-
d
)
"
=
"ALTLinux
"
]
&&
repack
=
'--repack'
[
"
$(
$DISTRVENDOR
-
s
)
"
=
"alt
"
]
&&
repack
=
'--repack'
#https://st.mycdn.me/static/sferum/latest/sferum-i386.deb
#https://st.mycdn.me/static/sferum/latest/sferum-amd64.deb
...
...
play.d/sputnik-browser.sh
View file @
0460b4d8
...
...
@@ -22,7 +22,7 @@ case "$($DISTRVENDOR -e)" in
ALTLinux/c8
)
epm
--repack
install
https://upd.sputnik-lab.com/api-updates/updates/download/94d70495-75ec-4ad7-831d-8008d0525d90/sputnik-browser-stable-5.6.6322.0-1.x86_64.rpm
;;
ALTLinux/
*
)
ALTLinux/
*
|
ALTServer/
*
)
epm
--repack
install
https://upd.sputnik-lab.com/api-updates/updates/download/49734e35-cfe1-493c-bfae-8fa83f2a4365/sputnik-browser-stable-5.6.6324.0-1.x86_64.rpm
;;
AstraLinux/
*
)
...
...
play.d/zoom.sh
View file @
0460b4d8
...
...
@@ -20,7 +20,7 @@ case $arch in
fatal
"Unsupported arch
$arch
for
$(
$DISTRVENDOR
-d
)
"
esac
if
[
"
$(
$DISTRVENDOR
-
d
)
"
=
"ALTLinux
"
]
;
then
if
[
"
$(
$DISTRVENDOR
-
s
)
"
=
"alt
"
]
;
then
epm
install
$repack
https://zoom.us/client/
$version
/zoom_
$arch
.rpm
exit
fi
...
...
prescription.d/glibc-restore.sh
View file @
0460b4d8
...
...
@@ -2,7 +2,7 @@
[
"
$1
"
!=
"--run"
]
&&
echo
"Uninstall etersoft build of glibc"
&&
exit
[
"
$(
$DISTRVENDOR
-d
)
"
!=
"ALTLinux"
]
&&
echo
"Only ALTLinux is supported"
&&
exit
1
distro
=
"
$(
$DISTRVENDOR
-d
)
"
;
[
"
$distro
"
=
"ALTLinux"
]
||
[
"
$distro
"
=
"ALTServer"
]
||
{
echo
"Only ALTLinux is supported"
;
exit
1
;
}
epm downgrade glibc-core glibc-preinstall
exit
0
...
...
prescription.d/glusterfs7.sh
View file @
0460b4d8
...
...
@@ -2,7 +2,7 @@
[
"
$1
"
!=
"--run"
]
&&
echo
"Install glusterfs7 (or upgrade from glusterfs6)"
&&
exit
[
"
$(
$DISTRVENDOR
-d
)
"
!=
"ALTLinux"
]
&&
echo
"Only ALTLinux is supported"
&&
exit
1
distro
=
"
$(
$DISTRVENDOR
-d
)
"
;
[
"
$distro
"
=
"ALTLinux"
]
||
[
"
$distro
"
=
"ALTServer"
]
||
{
echo
"Only ALTLinux is supported"
;
exit
1
;
}
if
epmqp
--quiet
glusterfs6-
;
then
# Upgrade if was installed
...
...
prescription.d/glusterfs8.sh
View file @
0460b4d8
...
...
@@ -2,7 +2,7 @@
[
"
$1
"
!=
"--run"
]
&&
echo
"Install glusterfs8 (or upgrade from glusterfs7)"
&&
exit
[
"
$(
$DISTRVENDOR
-d
)
"
!=
"ALTLinux"
]
&&
echo
"Only ALTLinux is supported"
&&
exit
1
distro
=
"
$(
$DISTRVENDOR
-d
)
"
;
[
"
$distro
"
=
"ALTLinux"
]
||
[
"
$distro
"
=
"ALTServer"
]
||
{
echo
"Only ALTLinux is supported"
;
exit
1
;
}
GFSOLD
=
glusterfs7
GFSNEW
=
glusterfs8
...
...
prescription.d/glusterfs9.sh
View file @
0460b4d8
...
...
@@ -2,7 +2,7 @@
[
"
$1
"
!=
"--run"
]
&&
echo
"Install glusterfs9 (or upgrade from glusterfs8)"
&&
exit
[
"
$(
$DISTRVENDOR
-d
)
"
!=
"ALTLinux"
]
&&
echo
"Only ALTLinux is supported"
&&
exit
1
distro
=
"
$(
$DISTRVENDOR
-d
)
"
;
[
"
$distro
"
=
"ALTLinux"
]
||
[
"
$distro
"
=
"ALTServer"
]
||
{
echo
"Only ALTLinux is supported"
;
exit
1
;
}
GFSOLD
=
glusterfs8
GFSNEW
=
glusterfs9
...
...
prescription.d/i586-fix.sh
View file @
0460b4d8
...
...
@@ -2,7 +2,7 @@
[
"
$1
"
!=
"--run"
]
&&
echo
"Fix missed 32 bit package modules on 64 bit system"
&&
exit
[
"
$(
$DISTRVENDOR
-d
)
"
!=
"ALTLinux"
]
&&
echo
"Only ALTLinux is supported"
&&
exit
1
distro
=
"
$(
$DISTRVENDOR
-d
)
"
;
[
"
$distro
"
=
"ALTLinux"
]
||
[
"
$distro
"
=
"ALTServer"
]
||
{
echo
"Only ALTLinux is supported"
;
exit
1
;
}
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
LIST
=
''
...
...
prescription.d/i586-remove.sh
View file @
0460b4d8
...
...
@@ -5,7 +5,7 @@
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
case
"
$(
$DISTRVENDOR
-d
)
"
in
"ALTLinux"
)
"ALTLinux"
|
"ALTServer"
)
epm
--verbose
--simulate
remove
$(
epmqp
"^i586-"
)
;;
"Ubuntu"
|
"Debian"
)
...
...
prescription.d/i586-wine-etersoft.sh
View file @
0460b4d8
...
...
@@ -2,7 +2,7 @@
MAIN
=
wine-etersoft
[
"
$(
$DISTRVENDOR
-d
)
"
!=
"ALTLinux"
]
&&
echo
"Only ALTLinux is supported"
&&
exit
1
distro
=
"
$(
$DISTRVENDOR
-d
)
"
;
[
"
$distro
"
=
"ALTLinux"
]
||
[
"
$distro
"
=
"ALTServer"
]
||
{
echo
"Only ALTLinux is supported"
;
exit
1
;
}
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
PKGNAMES
=
"lib
$MAIN
i586-
$MAIN
i586-lib
$MAIN
i586-lib
$MAIN
-gl"
...
...
prescription.d/i586-wine-vanilla.sh
View file @
0460b4d8
...
...
@@ -2,7 +2,7 @@
MAIN
=
wine-vanilla
[
"
$(
$DISTRVENDOR
-d
)
"
!=
"ALTLinux"
]
&&
echo
"Only ALTLinux is supported"
&&
exit
1
distro
=
"
$(
$DISTRVENDOR
-d
)
"
;
[
"
$distro
"
=
"ALTLinux"
]
||
[
"
$distro
"
=
"ALTServer"
]
||
{
echo
"Only ALTLinux is supported"
;
exit
1
;
}
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
PKGNAMES
=
"lib
$MAIN
i586-
$MAIN
i586-lib
$MAIN
i586-lib
$MAIN
-gl"
...
...
prescription.d/i586-wine.sh
View file @
0460b4d8
...
...
@@ -2,7 +2,7 @@
MAIN
=
wine
[
"
$(
$DISTRVENDOR
-d
)
"
!=
"ALTLinux"
]
&&
echo
"Only ALTLinux is supported"
&&
exit
1
distro
=
"
$(
$DISTRVENDOR
-d
)
"
;
[
"
$distro
"
=
"ALTLinux"
]
||
[
"
$distro
"
=
"ALTServer"
]
||
{
echo
"Only ALTLinux is supported"
;
exit
1
;
}
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
PKGNAMES
=
"lib
$MAIN
i586-
$MAIN
i586-lib
$MAIN
i586-lib
$MAIN
-gl"
...
...
prescription.d/php7.sh
View file @
0460b4d8
...
...
@@ -2,7 +2,7 @@
[
"
$1
"
!=
"--run"
]
&&
echo
"Install php7 (or upgrade from php5)"
&&
exit
[
"
$(
$DISTRVENDOR
-d
)
"
!=
"ALTLinux"
]
&&
echo
"Only ALTLinux is supported"
&&
exit
1
distro
=
"
$(
$DISTRVENDOR
-d
)
"
;
[
"
$distro
"
=
"ALTLinux"
]
||
[
"
$distro
"
=
"ALTServer"
]
||
{
echo
"Only ALTLinux is supported"
;
exit
1
;
}
if
epmqp
--quiet
php5-
;
then
# Upgrade if was installed php5
...
...
prescription.d/php8.sh
View file @
0460b4d8
...
...
@@ -2,7 +2,7 @@
[
"
$1
"
!=
"--run"
]
&&
echo
"Install php8 (or upgrade from php7)"
&&
exit
[
"
$(
$DISTRVENDOR
-d
)
"
!=
"ALTLinux"
]
&&
echo
"Only ALTLinux is supported"
&&
exit
1
distro
=
"
$(
$DISTRVENDOR
-d
)
"
;
[
"
$distro
"
=
"ALTLinux"
]
||
[
"
$distro
"
=
"ALTServer"
]
||
{
echo
"Only ALTLinux is supported"
;
exit
1
;
}
# TODO: check for apache2-mod_php7
...
...
prescription.d/python2-remove.sh
View file @
0460b4d8
...
...
@@ -2,7 +2,7 @@
[
"
$1
"
!=
"--run"
]
&&
echo
"Remove all possible python2 packages"
&&
exit
[
"
$(
$DISTRVENDOR
-d
)
"
!=
"ALTLinux"
]
&&
echo
"Only ALTLinux is supported"
&&
exit
1
distro
=
"
$(
$DISTRVENDOR
-d
)
"
;
[
"
$distro
"
=
"ALTLinux"
]
||
[
"
$distro
"
=
"ALTServer"
]
||
{
echo
"Only ALTLinux is supported"
;
exit
1
;
}
PACKAGES
=
"
$(
epm qp python-module
)
"
...
...
prescription.d/wine.sh
View file @
0460b4d8
...
...
@@ -3,7 +3,7 @@
MAIN
=
wine
[
-n
"
$2
"
]
&&
MAIN
=
"
$2
"
[
"
$(
$DISTRVENDOR
-d
)
"
!=
"ALTLinux"
]
&&
echo
"Only ALTLinux is supported"
&&
exit
1
distro
=
"
$(
$DISTRVENDOR
-d
)
"
;
[
"
$distro
"
=
"ALTLinux"
]
||
[
"
$distro
"
=
"ALTServer"
]
||
{
echo
"Only ALTLinux is supported"
;
exit
1
;
}
arch
=
"
$(
$DISTRVENDOR
-a
)
"
...
...
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