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
e6c3fb44
Commit
e6c3fb44
authored
Mar 02, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack: use epm print info instead of $DISTRVENDOR
parent
3703b101
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
17 additions
and
18 deletions
+17
-18
README.md
prescription.d/README.md
+0
-4
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-remove.sh
prescription.d/i586-remove.sh
+6
-3
php7.sh
prescription.d/php7.sh
+1
-1
php8.0.sh
prescription.d/php8.0.sh
+1
-1
php8.1.sh
prescription.d/php8.1.sh
+1
-1
php8.2.sh
prescription.d/php8.2.sh
+1
-1
python2-remove.sh
prescription.d/python2-remove.sh
+1
-1
wine.sh
prescription.d/wine.sh
+2
-2
No files found.
prescription.d/README.md
View file @
e6c3fb44
Allowed variables:
*
$EGET (wget like utility)
*
$DISTRVENDOR (distro_info utility)
Allowed command:
*
epm (run the same epm called from)
prescription.d/glibc-restore.sh
View file @
e6c3fb44
...
...
@@ -2,7 +2,7 @@
[
"
$1
"
!=
"--run"
]
&&
echo
"Uninstall etersoft build of glibc"
&&
exit
distro
=
"
$(
$DISTRVENDOR
-d
)
"
;
[
"
$distro
"
=
"ALTLinux"
]
||
[
"
$distro
"
=
"ALTServer"
]
||
{
echo
"Only ALTLinux is supported"
;
exit
1
;
}
distro
=
"
$(
epm print info
-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 @
e6c3fb44
...
...
@@ -2,7 +2,7 @@
[
"
$1
"
!=
"--run"
]
&&
echo
"Install glusterfs7 (or upgrade from glusterfs6)"
&&
exit
distro
=
"
$(
$DISTRVENDOR
-d
)
"
;
[
"
$distro
"
=
"ALTLinux"
]
||
[
"
$distro
"
=
"ALTServer"
]
||
{
echo
"Only ALTLinux is supported"
;
exit
1
;
}
distro
=
"
$(
epm print info
-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 @
e6c3fb44
...
...
@@ -2,7 +2,7 @@
[
"
$1
"
!=
"--run"
]
&&
echo
"Install glusterfs8 (or upgrade from glusterfs7)"
&&
exit
distro
=
"
$(
$DISTRVENDOR
-d
)
"
;
[
"
$distro
"
=
"ALTLinux"
]
||
[
"
$distro
"
=
"ALTServer"
]
||
{
echo
"Only ALTLinux is supported"
;
exit
1
;
}
distro
=
"
$(
epm print info
-d
)
"
;
[
"
$distro
"
=
"ALTLinux"
]
||
[
"
$distro
"
=
"ALTServer"
]
||
{
echo
"Only ALTLinux is supported"
;
exit
1
;
}
GFSOLD
=
glusterfs7
GFSNEW
=
glusterfs8
...
...
prescription.d/glusterfs9.sh
View file @
e6c3fb44
...
...
@@ -2,7 +2,7 @@
[
"
$1
"
!=
"--run"
]
&&
echo
"Install glusterfs9 (or upgrade from glusterfs8)"
&&
exit
distro
=
"
$(
$DISTRVENDOR
-d
)
"
;
[
"
$distro
"
=
"ALTLinux"
]
||
[
"
$distro
"
=
"ALTServer"
]
||
{
echo
"Only ALTLinux is supported"
;
exit
1
;
}
distro
=
"
$(
epm print info
-d
)
"
;
[
"
$distro
"
=
"ALTLinux"
]
||
[
"
$distro
"
=
"ALTServer"
]
||
{
echo
"Only ALTLinux is supported"
;
exit
1
;
}
GFSOLD
=
glusterfs8
GFSNEW
=
glusterfs9
...
...
prescription.d/i586-remove.sh
View file @
e6c3fb44
...
...
@@ -2,16 +2,19 @@
[
"
$1
"
!=
"--run"
]
&&
echo
"Remove all 32 bit packages from 64 bit system"
&&
exit
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
[
"
$(
epm print info
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
case
"
$(
$DISTRVENDOR
-s
)
"
in
case
"
$(
epm print info
-s
)
"
in
alt
)
epm
--verbose
--simulate
remove
$(
epmqp
"^i586-"
)
;;
ubuntu|debian
)
epm
--verbose
--simulate
remove
$(
epmqp
"^i386-"
)
;;
fedora|centos|redos
)
epm
--verbose
--simulate
remove
$(
epmqp
"
\.
i686$"
)
;;
*
)
fatal
"unsupported vendor
$(
$DISTRVENDOR
-s
)
"
fatal
"unsupported vendor
$(
epm print info
-s
)
"
;;
esac
prescription.d/php7.sh
View file @
e6c3fb44
...
...
@@ -2,7 +2,7 @@
[
"
$1
"
!=
"--run"
]
&&
echo
"Install php7 (or upgrade from php5)"
&&
exit
distrbase
=
"
$(
$DISTRVENDOR
-s
)
"
;
[
"
$distrbase
"
=
"alt"
]
||
{
echo
"Only ALTLinux is supported as for now"
;
exit
1
;
}
distrbase
=
"
$(
epm print info
-s
)
"
;
[
"
$distrbase
"
=
"alt"
]
||
{
echo
"Only ALTLinux is supported as for now"
;
exit
1
;
}
if
epmqp
--quiet
php5-
;
then
# Upgrade all installed php5
...
...
prescription.d/php8.0.sh
View file @
e6c3fb44
...
...
@@ -2,7 +2,7 @@
[
"
$1
"
!=
"--run"
]
&&
echo
"Install php8.1 (or upgrade from a previous version)"
&&
exit
distrbase
=
"
$(
$DISTRVENDOR
-s
)
"
;
[
"
$distrbase
"
=
"alt"
]
||
{
echo
"Only ALTLinux is supported as for now"
;
exit
1
;
}
distrbase
=
"
$(
epm print info
-s
)
"
;
[
"
$distrbase
"
=
"alt"
]
||
{
echo
"Only ALTLinux is supported as for now"
;
exit
1
;
}
if
epmqp
--quiet
php7-
;
then
# Upgrade all installed php7
...
...
prescription.d/php8.1.sh
View file @
e6c3fb44
...
...
@@ -2,7 +2,7 @@
[
"
$1
"
!=
"--run"
]
&&
echo
"Install php8.1 (or upgrade from a previous version)"
&&
exit
distrbase
=
"
$(
$DISTRVENDOR
-s
)
"
;
[
"
$distrbase
"
=
"alt"
]
||
{
echo
"Only ALTLinux is supported as for now"
;
exit
1
;
}
distrbase
=
"
$(
epm print info
-s
)
"
;
[
"
$distrbase
"
=
"alt"
]
||
{
echo
"Only ALTLinux is supported as for now"
;
exit
1
;
}
if
epmqp
--quiet
php7-
;
then
# Upgrade all installed php7
...
...
prescription.d/php8.2.sh
View file @
e6c3fb44
...
...
@@ -2,7 +2,7 @@
[
"
$1
"
!=
"--run"
]
&&
echo
"Install php8.2 (or upgrade from a previous version)"
&&
exit
distrbase
=
"
$(
$DISTRVENDOR
-s
)
"
;
[
"
$distrbase
"
=
"alt"
]
||
{
echo
"Only ALTLinux is supported as for now"
;
exit
1
;
}
distrbase
=
"
$(
epm print info
-s
)
"
;
[
"
$distrbase
"
=
"alt"
]
||
{
echo
"Only ALTLinux is supported as for now"
;
exit
1
;
}
# TODO: check for apache2-mod_php7
...
...
prescription.d/python2-remove.sh
View file @
e6c3fb44
...
...
@@ -2,7 +2,7 @@
[
"
$1
"
!=
"--run"
]
&&
echo
"Remove all possible python2 packages"
&&
exit
distro
=
"
$(
$DISTRVENDOR
-d
)
"
;
[
"
$distro
"
=
"ALTLinux"
]
||
[
"
$distro
"
=
"ALTServer"
]
||
{
echo
"Only ALTLinux is supported"
;
exit
1
;
}
distro
=
"
$(
epm print info
-d
)
"
;
[
"
$distro
"
=
"ALTLinux"
]
||
[
"
$distro
"
=
"ALTServer"
]
||
{
echo
"Only ALTLinux is supported"
;
exit
1
;
}
PACKAGES
=
"
$(
epm qp python-module
)
"
...
...
prescription.d/wine.sh
View file @
e6c3fb44
...
...
@@ -2,8 +2,8 @@
MAIN
=
wine
vendor
=
"
$(
$DISTRVENDOR
-s
)
"
;
[
"
$vendor
"
=
"alt"
]
||
{
echo
"Only ALT distros is supported for now"
;
exit
1
;
}
arch
=
"
$(
$DISTRVENDOR
-a
)
"
vendor
=
"
$(
epm print info
-s
)
"
;
[
"
$vendor
"
=
"alt"
]
||
{
echo
"Only ALT distros is supported for now"
;
exit
1
;
}
arch
=
"
$(
epm print info
-a
)
"
PKGCOMMON
=
"wine-mono wine-gecko winetricks"
...
...
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