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
e05a3ebf
Commit
e05a3ebf
authored
May 05, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small fixes
parent
6b3cb635
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
18 additions
and
3 deletions
+18
-3
README.md
README.md
+5
-0
epm-policy
bin/epm-policy
+1
-0
epm-remove
bin/epm-remove
+2
-0
epm-repack
bin/epm-repack
+1
-0
epm-sh-functions
bin/epm-sh-functions
+1
-1
epm-status
bin/epm-status
+2
-2
switch-to-nvidia.sh
prescription.d/switch-to-nvidia.sh
+6
-0
No files found.
README.md
View file @
e05a3ebf
...
...
@@ -100,3 +100,8 @@ http://wiki.etersoft.ru/Epm
Please e-mail if you have any questions:
`lav@etersoft.ru`
## Simular projects
*
https://github.com/leamas/lpf
*
https://ihucos.github.io/zpkg/ - With zpkg you can install programs from other distributions into your system
bin/epm-policy
View file @
e05a3ebf
...
...
@@ -32,6 +32,7 @@ pkg_names=$(__epm_get_hilevel_name $pkg_names)
case
$PMTYPE
in
apt-
*
)
# FIXME: returns TRUE ever on missed package
docmd apt-cache policy
$pkg_names
;;
packagekit
)
...
...
bin/epm-remove
View file @
e05a3ebf
...
...
@@ -297,6 +297,8 @@ epm_remove()
return
fi
# TODO: add support for --no-scripts to all cases
if
[
"
$BASEDISTRNAME
"
=
"alt"
]
;
then
load_helper epm-sh-altlinux
if
tasknumber
"
$pkg_names
"
>
/dev/null
;
then
...
...
bin/epm-repack
View file @
e05a3ebf
...
...
@@ -27,6 +27,7 @@ __epm_have_repack_rule()
# skip repacking on non ALT systems
[
"
$BASEDISTRNAME
"
=
"alt"
]
||
return
1
# skip for packages built with repack
local
packager
=
"
$(
epm print field Packager
for
"
$1
"
2>/dev/null
)
"
[
"
$packager
"
=
"EPM <support@etersoft.ru>"
]
&&
return
1
[
"
$packager
"
=
"EPM <support@eepm.ru>"
]
&&
return
1
...
...
bin/epm-sh-functions
View file @
e05a3ebf
...
...
@@ -516,7 +516,6 @@ assure_exists_erc()
# will replaced within disabled_eget in packaged version
eget
()
{
local
EGET
# use internal eget only if exists
if
[
-s
$SHAREDIR
/tools_eget
]
;
then
(
EGET_BACKEND
=
$eget_backend
$CMDSHELL
$SHAREDIR
/tools_eget
"
$@
"
)
...
...
@@ -524,6 +523,7 @@ eget()
fi
fatal
"Internal error: missed tools_eget"
local
EGET
# FIXME: we need disable output here, eget can be used for get output
assure_exists eget eget 3.3
>
/dev/null
# run external command, not the function
...
...
bin/epm-status
View file @
e05a3ebf
...
...
@@ -149,7 +149,7 @@ epm_status_repacked()
[
"
$packager
"
=
"EPM <support@eepm.ru>"
]
&&
return
0
;;
*
)
fatal
"Unsupported
$DISTRNAME
"
fatal
"Unsupported
$
BASE
DISTRNAME
"
;;
esac
return
1
...
...
@@ -175,7 +175,7 @@ epm_status_thirdparty()
echo
"
$distribution
"
|
grep
-q
"^ALT"
||
return
0
;;
*
)
fatal
"Unsupported
$DISTRNAME
"
fatal
"Unsupported
$
BASE
DISTRNAME
"
;;
esac
return
1
...
...
prescription.d/switch-to-nvidia.sh
View file @
e05a3ebf
...
...
@@ -9,6 +9,12 @@ exit
[
"
$(
epm print info
-s
)
"
=
"alt"
]
||
fatal
"Only ALTLinux is supported"
if
grep
NVIDIA /proc/driver/nvidia/version 2>/dev/null
;
then
echo
"Already installed."
exit
fi
# ROSA: kroko-cli autoinstall
# https://www.altlinux.org/Nvidia#Смена_открытых_драйверов_на_проприетарные[1]
epm update
||
exit
...
...
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