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
7247b682
Commit
7247b682
authored
Aug 22, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change AstraLinux to AstraLinuxCE/SE
parent
545809a4
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
14 additions
and
17 deletions
+14
-17
distr_info
bin/distr_info
+4
-2
epm-addrepo
bin/epm-addrepo
+1
-1
epm-removerepo
bin/epm-removerepo
+1
-1
serv
bin/serv
+1
-1
mssql-server.sh
play.d/mssql-server.sh
+1
-1
mssql-tools.sh
play.d/mssql-tools.sh
+1
-1
okular-csp.sh
play.d/okular-csp.sh
+3
-5
rudesktop.sh
play.d/rudesktop.sh
+1
-1
sputnik-browser.sh
play.d/sputnik-browser.sh
+1
-4
No files found.
bin/distr_info
View file @
7247b682
...
...
@@ -62,7 +62,8 @@ pkgvendor()
{
[
"
$DISTRIB_ID
"
=
"ALTLinux"
]
&&
echo
"alt"
&&
return
[
"
$DISTRIB_ID
"
=
"ALTServer"
]
&&
echo
"alt"
&&
return
[
"
$DISTRIB_ID
"
=
"AstraLinux"
]
&&
echo
"astra"
&&
return
[
"
$DISTRIB_ID
"
=
"AstraLinuxSE"
]
&&
echo
"astra"
&&
return
[
"
$DISTRIB_ID
"
=
"AstraLinuxCE"
]
&&
echo
"astra"
&&
return
[
"
$DISTRIB_ID
"
=
"LinuxXP"
]
&&
echo
"lxp"
&&
return
[
"
$DISTRIB_ID
"
=
"TinyCoreLinux"
]
&&
echo
"tcl"
&&
return
[
"
$DISTRIB_ID
"
=
"VoidLinux"
]
&&
echo
"void"
&&
return
...
...
@@ -97,7 +98,7 @@ case $DISTRIB_ID in
PCLinux
)
CMD
=
"apt-rpm"
;;
Ubuntu|Debian|Mint|AstraLinux|Elbrus
)
Ubuntu|Debian|Mint|AstraLinux
*
|
Elbrus
)
CMD
=
"apt-dpkg"
#which aptitude 2>/dev/null >/dev/null && CMD=aptitude-dpkg
#hascommand snappy && CMD=snappy
...
...
@@ -329,6 +330,7 @@ case "$VENDOR_ID" in
;;
"astra"
)
DISTRIB_RELEASE
=
$(
normalize_version3
"
$DISTRIB_RELEASE_ORIG
"
|
sed
-e
's|_.*||'
)
[
"
$VARIANT
"
=
"orel"
]
&&
DISTRIB_ID
=
"AstraLinuxCE"
||
DISTRIB_ID
=
"AstraLinuxSE"
#[ "$DISTRIB_RELEASE" = "1.17" ] && DISTRIB_RELEASE="$VERSION_ID"
#DISTRIB_RELEASE="$VERSION_CODENAME"
;;
...
...
bin/epm-addrepo
View file @
7247b682
...
...
@@ -221,7 +221,7 @@ __epm_addrepo_deb()
return
fi
if
[
"
$DISTRNAME
"
=
"AstraLinux
"
]
;
then
if
[
"
$DISTRNAME
"
=
"AstraLinux
CE"
]
||
[
"
$DISTRNAME
"
=
"AstraLinuxSE"
]
;
then
;
then
echo
"Use workaround for AstraLinux"
# aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for AstraLinuxCE/orel
echo
""
| sudocmd
tee
-a
/etc/apt/sources.list
...
...
bin/epm-removerepo
View file @
7247b682
...
...
@@ -105,7 +105,7 @@ case $PMTYPE in
assure_exists apt-add-repository software-properties-common
set_sudo
if
[
"
$DISTRNAME
"
=
"AstraLinux"
]
;
then
if
[
"
$DISTRNAME
"
=
"AstraLinux
CE"
]
||
[
"
$DISTRNAME
"
=
"AstraLinuxSE
"
]
;
then
echo
"Use workaround for AstraLinux"
[
-n
"
$*
"
]
||
fatal
"empty repo name"
# aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for AstraLinuxCE/orel
...
...
bin/serv
View file @
7247b682
...
...
@@ -56,7 +56,7 @@ case $DISTRNAME in
ALTLinux|ALTServer
)
CMD
=
"service-chkconfig"
;;
Ubuntu|Debian|Mint|AstraLinux
)
Ubuntu|Debian|Mint|AstraLinux
*
)
CMD
=
"service-update"
;;
Mandriva|ROSA
)
...
...
play.d/mssql-server.sh
View file @
7247b682
...
...
@@ -22,7 +22,7 @@ dname="$(epm print info -s)"
dversion
=
"
$(
epm print info
-v
)
"
case
"
$(
$DISTRVENDOR
-d
)
"
in
"AstraLinux"
)
AstraLinux
*
)
# we have libc++1-9, but this package requires libc++1
epm ar
$DEBREPO
;
epm update
epm
install
libc++1
...
...
play.d/mssql-tools.sh
View file @
7247b682
...
...
@@ -15,7 +15,7 @@ dname="$(epm print info -s)"
dversion
=
"
$(
epm print info
-v
)
"
case
"
$(
$DISTRVENDOR
-d
)
"
in
"AstraLinux"
)
AstraLinux
*
)
epm
install
--skip-installed
unixodbc
||
fatal
epm
install
https://packages.microsoft.com/debian/8/prod/pool/main/m/msodbcsql17/msodbcsql17_1
*
_amd64.deb
epm
install
https://packages.microsoft.com/debian/8/prod/pool/main/m/mssql-tools/mssql-tools_1
*
_amd64.deb
...
...
play.d/okular-csp.sh
View file @
7247b682
...
...
@@ -25,8 +25,7 @@ esac
case
$(
epm print info
-e
)
in
Debian/11|Ubuntu/20.04
)
;;
# AstraLinuxSE/1.7*)
AstraLinux/smolensk
)
AstraLinuxSE/1.7
*
)
;;
Fedora/35|ROSA/2021|RedOS/7
)
;;
...
...
@@ -49,14 +48,13 @@ pkgsystem=$(epm print info -g)
case
$(
epm print info
-e
)
in
# TODO:
AstraLinux
/orel
)
AstraLinux
CE
*
)
pkgsystem
=
''
epm repo addkey
"
$REPOURL
/lab50.gpg"
epm repo add
"deb
$REPOURL
/ce stable main"
;;
# TODO:
# AstraLinuxSE/1.7*)
AstraLinux/smolensk
)
AstraLinuxSE
*
)
distrib
=
alse17
additional_packages
=
"libkf5js5=5.78.0-0ubuntu2+alse17 libkf5jsapi5=5.78.0-0ubuntu2+alse17"
;;
...
...
play.d/rudesktop.sh
View file @
7247b682
...
...
@@ -7,7 +7,7 @@ DESCRIPTION="RuDesktop for Linux from the official site"
.
$(
dirname
$0
)
/common.sh
case
"
$(
$DISTRVENDOR
-d
)
"
in
"AstraLinux"
)
AstraLinux
*
)
PKGNAME
=
rudesktop-astra
;;
esac
...
...
play.d/sputnik-browser.sh
View file @
7247b682
...
...
@@ -36,12 +36,9 @@ case "$($DISTRVENDOR -e)" in
ALTLinux/
*
|
ALTServer/
*
)
id_content
=
'alt9-id'
;;
AstraLinux
/smolensk
)
AstraLinux
*
)
id_content
=
'astrase-id'
;;
AstraLinux/
*
)
id_content
=
'astrace-id'
;;
RedOS/
*
)
id_content
=
'redos-id'
;;
...
...
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