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
d0f20e89
Commit
d0f20e89
authored
Jun 03, 2025
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit packed 3.64.31
parent
e03b376e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
9 deletions
+13
-9
epm.sh
packed/epm.sh
+12
-8
serv.sh
packed/serv.sh
+1
-1
No files found.
packed/epm.sh
View file @
d0f20e89
...
@@ -34,7 +34,7 @@ SHAREDIR="$PROGDIR"
...
@@ -34,7 +34,7 @@ SHAREDIR="$PROGDIR"
# will replaced with /etc/eepm during install
# will replaced with /etc/eepm during install
CONFIGDIR
=
"
$PROGDIR
/../etc"
CONFIGDIR
=
"
$PROGDIR
/../etc"
export
EPMVERSION
=
"3.64.3
0
"
export
EPMVERSION
=
"3.64.3
1
"
# package, single (file), pipe, git
# package, single (file), pipe, git
EPMMODE
=
"package"
EPMMODE
=
"package"
...
@@ -3129,6 +3129,7 @@ epm_create_fake()
...
@@ -3129,6 +3129,7 @@ epm_create_fake()
__assure_exists_rpmbuild
__assure_exists_rpmbuild
HOME
=
"
$(
mktemp
-d
--tmpdir
=
$BIGTMPDIR
)
"
||
fatal
HOME
=
"
$(
mktemp
-d
--tmpdir
=
$BIGTMPDIR
)
"
||
fatal
unset
BASH_ENV
remove_on_exit
$HOME
remove_on_exit
$HOME
export
HOME
export
HOME
__create_rpmmacros
__create_rpmmacros
...
@@ -3886,7 +3887,7 @@ __epm_korinf_install_eepm()
...
@@ -3886,7 +3887,7 @@ __epm_korinf_install_eepm()
info
"Check https://bugzilla.altlinux.org/44314 for reasons."
info
"Check https://bugzilla.altlinux.org/44314 for reasons."
info
"You can install eepm package from Korinf manually, check instruction at https://eepm.ru"
info
"You can install eepm package from Korinf manually, check instruction at https://eepm.ru"
info
info
info
"Trying update eepm from the stable ALT repository ..."
info
"Trying update eepm from the stable ALT
$DISTRVERSION
repository ..."
docmd epm
install
eepm
docmd epm
install
eepm
return
return
fi
fi
...
@@ -6638,7 +6639,7 @@ __epm_pack_run_handler()
...
@@ -6638,7 +6639,7 @@ __epm_pack_run_handler()
[
-n
"
$debug
"
]
&&
bashopt
=
'-x'
[
-n
"
$debug
"
]
&&
bashopt
=
'-x'
#info "Running $($script --description 2>/dev/null) ..."
#info "Running $($script --description 2>/dev/null) ..."
# TODO: add url info here
# TODO: add url info here
(
unset
EPMCURDIR
;
export
PATH
=
$SCPATH
;
export
HOME
=
$(
pwd
)
;
docmd
$CMDSHELL
$bashopt
$repackcode
"
$tarname
"
"
$filefortarname
"
"
$packversion
"
"
$url
"
)
||
fatal
(
unset
BASH_ENV
;
unset
EPMCURDIR
;
export
PATH
=
$SCPATH
;
export
HOME
=
$(
pwd
)
;
docmd
$CMDSHELL
$bashopt
$repackcode
"
$tarname
"
"
$filefortarname
"
"
$packversion
"
"
$url
"
)
||
fatal
returntarname
=
"
$(
cat
"
$filefortarname
"
)
"
||
fatal
'pack script $repackcode didn'
\'
't set tarname'
returntarname
=
"
$(
cat
"
$filefortarname
"
)
"
||
fatal
'pack script $repackcode didn'
\'
't set tarname'
local
i
local
i
...
@@ -10898,6 +10899,7 @@ __epm_repack_to_rpm()
...
@@ -10898,6 +10899,7 @@ __epm_repack_to_rpm()
# TODO: keep home?
# TODO: keep home?
HOME
=
"
$(
mktemp
-d
--tmpdir
=
$BIGTMPDIR
)
"
||
fatal
HOME
=
"
$(
mktemp
-d
--tmpdir
=
$BIGTMPDIR
)
"
||
fatal
unset
BASH_ENV
remove_on_exit
$HOME
remove_on_exit
$HOME
export
HOME
export
HOME
__create_rpmmacros
__create_rpmmacros
...
@@ -18237,24 +18239,26 @@ extract_archive()
...
@@ -18237,24 +18239,26 @@ extract_archive()
local type
=
"
$(
get_archive_type
"
$arc
"
)
"
local type
=
"
$(
get_archive_type
"
$arc
"
)
"
[
-n
"
$type
"
]
||
fatal
"Can't recognize type of
$arc
."
[
-n
"
$type
"
]
||
fatal
"Can't recognize type of
$arc
."
local
rarc
=
"
$(
realpath
-s
"
$arc
"
)
"
# TODO: move to patool
# TODO: move to patool
if
[
"
$type
"
=
"exe"
]
;
then
if
[
"
$type
"
=
"exe"
]
;
then
local
subdir
=
"
$(
basename
"
$arc
"
.exe
)
"
local
subdir
=
"
$(
basename
"
$arc
"
.exe
)
"
mkdir
-p
"
$subdir
"
&&
cd
"
$subdir
"
||
fatal
mkdir
-p
"
$subdir
"
&&
cd
"
$subdir
"
||
fatal
docmd
$HAVE_7Z
x
../
"
$
arc
"
docmd
$HAVE_7Z
x
"
$r
arc
"
exit
exit
fi
fi
if
[
"
$type
"
=
"dll"
]
;
then
if
[
"
$type
"
=
"dll"
]
;
then
local
subdir
=
"
$(
basename
"
$arc
"
.dll
)
"
local
subdir
=
"
$(
basename
"
$arc
"
.dll
)
"
mkdir
-p
"
$subdir
"
&&
cd
"
$subdir
"
||
fatal
mkdir
-p
"
$subdir
"
&&
cd
"
$subdir
"
||
fatal
docmd
$HAVE_7Z
x
../
"
$
arc
"
docmd
$HAVE_7Z
x
"
$r
arc
"
exit
exit
fi
fi
if
[
"
$type
"
=
"AppImage"
]
||
[
"
$type
"
=
"appimage"
]
;
then
if
[
"
$type
"
=
"AppImage"
]
||
[
"
$type
"
=
"appimage"
]
;
then
docmd
chmod
u+x
"
$arc
"
||
fatal
"Can't set executable permission"
docmd
chmod
u+x
"
$
r
arc
"
||
fatal
"Can't set executable permission"
docmd
"
$
(
realpath
$arc
)
"
--appimage-extract
docmd
"
$
rarc
"
--appimage-extract
mv
squashfs-root
"
$(
basename
"
$(
basename
"
$arc
"
.AppImage
)
"
.appimage
)
"
mv
squashfs-root
"
$(
basename
"
$(
basename
"
$arc
"
.AppImage
)
"
.appimage
)
"
exit
exit
fi
fi
...
@@ -18262,7 +18266,7 @@ extract_archive()
...
@@ -18262,7 +18266,7 @@ extract_archive()
if
[
"
$type
"
=
"squashfs"
]
;
then
if
[
"
$type
"
=
"squashfs"
]
;
then
local
subdir
=
"
$(
basename
"
$arc
"
.squashfs
)
"
local
subdir
=
"
$(
basename
"
$arc
"
.squashfs
)
"
mkdir
-p
"
$subdir
"
&&
cd
"
$subdir
"
||
fatal
mkdir
-p
"
$subdir
"
&&
cd
"
$subdir
"
||
fatal
docmd
$HAVE_7Z
x
../
"
$
arc
"
docmd
$HAVE_7Z
x
"
$r
arc
"
exit
exit
fi
fi
...
...
packed/serv.sh
View file @
d0f20e89
...
@@ -34,7 +34,7 @@ SHAREDIR=$PROGDIR
...
@@ -34,7 +34,7 @@ SHAREDIR=$PROGDIR
# will replaced with /etc/eepm during install
# will replaced with /etc/eepm during install
CONFIGDIR
=
$PROGDIR
/../etc
CONFIGDIR
=
$PROGDIR
/../etc
EPMVERSION
=
"3.64.3
0
"
EPMVERSION
=
"3.64.3
1
"
# package, single (file), pipe, git
# package, single (file), pipe, git
EPMMODE
=
"package"
EPMMODE
=
"package"
...
...
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