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
e0c362cb
Commit
e0c362cb
authored
Apr 27, 2024
by
Boria138
Committed by
Vitaly Lipatov
Nov 09, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace all cat <<EOF to message
parent
df1f51ea
Show whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
43 additions
and
45 deletions
+43
-45
distr_info
bin/distr_info
+4
-4
epm
bin/epm
+2
-2
epm-addrepo
bin/epm-addrepo
+2
-2
epm-autoremove
bin/epm-autoremove
+2
-2
epm-epm_install
bin/epm-epm_install
+2
-2
epm-full_upgrade
bin/epm-full_upgrade
+2
-2
epm-history
bin/epm-history
+2
-2
epm-list
bin/epm-list
+2
-2
epm-mark
bin/epm-mark
+2
-2
epm-pack
bin/epm-pack
+2
-2
epm-packages
bin/epm-packages
+2
-2
epm-play
bin/epm-play
+2
-2
epm-prescription
bin/epm-prescription
+2
-2
epm-print
bin/epm-print
+2
-2
epm-repo
bin/epm-repo
+2
-2
epm-status
bin/epm-status
+3
-4
epm-tool
bin/epm-tool
+2
-2
esu
bin/esu
+2
-2
tools_eget
bin/tools_eget
+4
-5
No files found.
bin/distr_info
View file @
e0c362cb
...
@@ -939,7 +939,7 @@ local orig=''
...
@@ -939,7 +939,7 @@ local orig=''
[
-n
"
$BUILD_ID
"
]
&&
[
"
$DISTRIB_FULL_RELEASE
"
!=
"
$BUILD_ID
"
]
&&
orig
=
" (orig.
$BUILD_ID
)"
[
-n
"
$BUILD_ID
"
]
&&
[
"
$DISTRIB_FULL_RELEASE
"
!=
"
$BUILD_ID
"
]
&&
orig
=
" (orig.
$BUILD_ID
)"
local
EV
=
''
local
EV
=
''
[
-n
"
$EPMVERSION
"
]
&&
EV
=
"(EPM version
$EPMVERSION
) "
[
-n
"
$EPMVERSION
"
]
&&
EV
=
"(EPM version
$EPMVERSION
) "
cat
<<
EOF
message
'
distro_info v$PROGVERSION $EV: Copyright © 2007-2024 Etersoft
distro_info v$PROGVERSION $EV: Copyright © 2007-2024 Etersoft
Pretty name (--pretty): $(print_pretty_name)
Pretty name (--pretty): $(print_pretty_name)
...
@@ -956,7 +956,7 @@ distro_info v$PROGVERSION $EV: Copyright © 2007-2024 Etersoft
...
@@ -956,7 +956,7 @@ distro_info v$PROGVERSION $EV: Copyright © 2007-2024 Etersoft
Bug report URL (--bug-report-url): $(print_bug_report_url)
Bug report URL (--bug-report-url): $(print_bug_report_url)
(run with -h to get help)
(run with -h to get help)
EOF
'
}
}
print_help
()
print_help
()
...
@@ -995,7 +995,7 @@ print_help()
...
@@ -995,7 +995,7 @@ print_help()
# print code for eval with names for eepm
# print code for eval with names for eepm
print_eepm_env
()
print_eepm_env
()
{
{
cat
<<
EOF
message
'
# -d | --base-distro-name
# -d | --base-distro-name
DISTRNAME="$(echo $DISTRIB_ID)"
DISTRNAME="$(echo $DISTRIB_ID)"
# -v | --base-version
# -v | --base-version
...
@@ -1022,7 +1022,7 @@ DISTRMEMORY="$(get_memory_size)"
...
@@ -1022,7 +1022,7 @@ DISTRMEMORY="$(get_memory_size)"
PKGVENDOR=$(pkgvendor)
PKGVENDOR=$(pkgvendor)
RPMVENDOR=$(pkgvendor)
RPMVENDOR=$(pkgvendor)
EOF
'
}
}
...
...
bin/epm
View file @
e0c362cb
...
@@ -672,7 +672,7 @@ pkg_filenames=$(strip_spaces "$pkg_files $pkg_names")
...
@@ -672,7 +672,7 @@ pkg_filenames=$(strip_spaces "$pkg_files $pkg_names")
print_short_help
()
print_short_help
()
{
{
cat
<<
EOF
message
'
Popular commands:
Popular commands:
epm search <name> - search package by name
epm search <name> - search package by name
...
@@ -683,7 +683,7 @@ Popular commands:
...
@@ -683,7 +683,7 @@ Popular commands:
epm qf (<command>|<path>) - print what package contains this command (file)
epm qf (<command>|<path>) - print what package contains this command (file)
epm sf <name> - search for the name in all files of all packages
epm sf <name> - search for the name in all files of all packages
epm cl <package name> - print changelog for the package
epm cl <package name> - print changelog for the package
EOF
'
}
}
# Just printout help if run without args
# Just printout help if run without args
...
...
bin/epm-addrepo
View file @
e0c362cb
...
@@ -156,7 +156,7 @@ __epm_addrepo_altlinux_url()
...
@@ -156,7 +156,7 @@ __epm_addrepo_altlinux_url()
__epm_addrepo_altlinux_help
()
__epm_addrepo_altlinux_help
()
{
{
#sudocmd apt-repo $dryrun add branch
#sudocmd apt-repo $dryrun add branch
cat
<<
EOF
message
'
epm repo add - add branch repo. Use follow params:
epm repo add - add branch repo. Use follow params:
basealt - for BaseALT repo
basealt - for BaseALT repo
...
@@ -179,7 +179,7 @@ Examples:
...
@@ -179,7 +179,7 @@ Examples:
# epm repo add "rpm http://somesite/pub/product x86_64 addon
# epm repo add "rpm http://somesite/pub/product x86_64 addon
# epm repo add /var/ftp/pub/altlinux/p10
# epm repo add /var/ftp/pub/altlinux/p10
EOF
'
return
return
}
}
...
...
bin/epm-autoremove
View file @
e0c362cb
...
@@ -208,7 +208,7 @@ epm_autoremove_print_help()
...
@@ -208,7 +208,7 @@ epm_autoremove_print_help()
echo
"run 'epm autoremove' to use apt-get autoremove"
echo
"run 'epm autoremove' to use apt-get autoremove"
echo
"or run 'epm autoremove --direct [group1] [group2] ...' to use epm implementation"
echo
"or run 'epm autoremove --direct [group1] [group2] ...' to use epm implementation"
echo
"Default groups:
$epm_autoremove_default_groups
"
echo
"Default groups:
$epm_autoremove_default_groups
"
cat
<<
EOF
message
'
Supported package groups:
Supported package groups:
libs - unused libraries
libs - unused libraries
libs-devel - unused -devel packages
libs-devel - unused -devel packages
...
@@ -224,7 +224,7 @@ Supported package groups:
...
@@ -224,7 +224,7 @@ Supported package groups:
Use
Use
--auto|--assumeyes|--non-interactive for non interactive mode
--auto|--assumeyes|--non-interactive for non interactive mode
EOF
'
}
}
...
...
bin/epm-epm_install
View file @
e0c362cb
...
@@ -107,7 +107,7 @@ epm_epm_install_help()
...
@@ -107,7 +107,7 @@ epm_epm_install_help()
{
{
echo
"epm ei [URL] [packages] - install packages from EPM based Korinf repository"
echo
"epm ei [URL] [packages] - install packages from EPM based Korinf repository"
get_help HELPCMD
$SHAREDIR
/epm-epm_install
get_help HELPCMD
$SHAREDIR
/epm-epm_install
cat
<<
EOF
message
'
Default Korinf repository: $EPM_KORINF_REPO_URL
Default Korinf repository: $EPM_KORINF_REPO_URL
...
@@ -116,7 +116,7 @@ Examples:
...
@@ -116,7 +116,7 @@ Examples:
epm ei <package1> [<package2>...] - install package(s) from default Korinf repo
epm ei <package1> [<package2>...] - install package(s) from default Korinf repo
epm http://someurl.ru <package> - install package(s) from a repo defined by URL
epm http://someurl.ru <package> - install package(s) from a repo defined by URL
epm --list <package mask> - list available packages by mask
epm --list <package mask> - list available packages by mask
EOF
'
}
}
...
...
bin/epm-full_upgrade
View file @
e0c362cb
...
@@ -20,14 +20,14 @@
...
@@ -20,14 +20,14 @@
epm_full_upgrade_help
()
epm_full_upgrade_help
()
{
{
get_help HELPCMD
$SHAREDIR
/epm-full_upgrade
get_help HELPCMD
$SHAREDIR
/epm-full_upgrade
cat
<<
EOF
message
'
You can run with --interactive if you can skip some steps interactively.
You can run with --interactive if you can skip some steps interactively.
Also you can comment out full_upgrade parts in /etc/eepm/eepm.conf config.
Also you can comment out full_upgrade parts in /etc/eepm/eepm.conf config.
Examples:
Examples:
epm full-upgrade [--auto]
epm full-upgrade [--auto]
epm full-upgrade [--interactive]
epm full-upgrade [--interactive]
epm full-upgrade --no-flatpack
epm full-upgrade --no-flatpack
EOF
'
}
}
...
...
bin/epm-history
View file @
e0c362cb
...
@@ -101,11 +101,11 @@ epm_history_help()
...
@@ -101,11 +101,11 @@ epm_history_help()
{
{
echo
"package management history"
echo
"package management history"
get_help HELPCMD
$SHAREDIR
/epm-history
get_help HELPCMD
$SHAREDIR
/epm-history
cat
<<
EOF
message
'
Examples:
Examples:
epm history
epm history
epm history --removed
epm history --removed
EOF
'
}
}
...
...
bin/epm-list
View file @
e0c362cb
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
epm_list_help
()
epm_list_help
()
{
{
cat
<<
EOF
message
'
epm list - list packages
epm list - list packages
Usage: epm list [options] [package]
Usage: epm list [options] [package]
...
@@ -27,7 +27,7 @@ Options:
...
@@ -27,7 +27,7 @@ Options:
--available list only available packages
--available list only available packages
--installed list only installed packages
--installed list only installed packages
--upgradable list only upgradable packages
--upgradable list only upgradable packages
EOF
'
# --all list all packages (default)
# --all list all packages (default)
}
}
...
...
bin/epm-mark
View file @
e0c362cb
...
@@ -321,11 +321,11 @@ epm_mark_help()
...
@@ -321,11 +321,11 @@ epm_mark_help()
{
{
echo
"mark is the interface for marking packages"
echo
"mark is the interface for marking packages"
get_help HELPCMD
$SHAREDIR
/epm-mark
get_help HELPCMD
$SHAREDIR
/epm-mark
cat
<<
EOF
message
'
Examples:
Examples:
epm mark hold mc
epm mark hold mc
epm manual mc
epm manual mc
EOF
'
}
}
epm_mark
()
epm_mark
()
...
...
bin/epm-pack
View file @
e0c362cb
...
@@ -118,7 +118,7 @@ __epm_pack()
...
@@ -118,7 +118,7 @@ __epm_pack()
epm_pack_help
()
epm_pack_help
()
{
{
cat
<<
EOF
message
'
epm pack - create rpm package from files
epm pack - create rpm package from files
Usage: epm pack [options] <packname> <tar|url|dir> [version]
Usage: epm pack [options] <packname> <tar|url|dir> [version]
Options:
Options:
...
@@ -130,7 +130,7 @@ Options:
...
@@ -130,7 +130,7 @@ Options:
--repack - force repack ever if returned package can be installed without repack
--repack - force repack ever if returned package can be installed without repack
--download-only - save pack result and exit
--download-only - save pack result and exit
--save-only - save repacked packages and exit (this is default behaviour)
--save-only - save repacked packages and exit (this is default behaviour)
EOF
'
}
}
...
...
bin/epm-packages
View file @
e0c362cb
...
@@ -23,12 +23,12 @@ __epm_packages_help()
...
@@ -23,12 +23,12 @@ __epm_packages_help()
{
{
echo
"package management list"
echo
"package management list"
get_help HELPCMD
$SHAREDIR
/epm-packages
get_help HELPCMD
$SHAREDIR
/epm-packages
cat
<<
EOF
message
'
Examples:
Examples:
epm packages --sort
epm packages --sort
epm packages --sort=size
epm packages --sort=size
epm packages --last
epm packages --last
EOF
'
}
}
__epm_packages_sort
()
__epm_packages_sort
()
...
...
bin/epm-play
View file @
e0c362cb
...
@@ -242,7 +242,7 @@ __epm_play_list()
...
@@ -242,7 +242,7 @@ __epm_play_list()
epm_play_help
()
epm_play_help
()
{
{
cat
<<
EOF
message
'
Usage: epm play [options] [<app>]
Usage: epm play [options] [<app>]
Options:
Options:
<app> - install <app>
<app> - install <app>
...
@@ -261,7 +261,7 @@ Examples:
...
@@ -261,7 +261,7 @@ Examples:
epm play telegram = beta
epm play telegram = beta
epm play telegram = 4.7.1
epm play telegram = 4.7.1
epm play --update all
epm play --update all
EOF
'
}
}
__epm_is_shell_script
()
__epm_is_shell_script
()
...
...
bin/epm-prescription
View file @
e0c362cb
...
@@ -25,11 +25,11 @@ epm_prescription()
...
@@ -25,11 +25,11 @@ epm_prescription()
local
psdir
=
"
$CONFIGDIR
/prescription.d"
local
psdir
=
"
$CONFIGDIR
/prescription.d"
if
[
"
$1
"
=
"-h"
]
||
[
"
$1
"
=
"--help"
]
;
then
if
[
"
$1
"
=
"-h"
]
||
[
"
$1
"
=
"--help"
]
;
then
cat
<<
EOF
message
'
Options:
Options:
<receipt> - run <receipt>
<receipt> - run <receipt>
--list-all - list all available receipts
--list-all - list all available receipts
EOF
'
exit
exit
fi
fi
...
...
bin/epm-print
View file @
e0c362cb
...
@@ -322,7 +322,7 @@ construct_name()
...
@@ -322,7 +322,7 @@ construct_name()
epm_print_help
()
epm_print_help
()
{
{
cat
<<
EOF
message
'
Examples:
Examples:
epm print info [args] print system and distro info (via distro_info command)
epm print info [args] print system and distro info (via distro_info command)
epm print name [from filename|for package] NN print only name of package name or package file
epm print name [from filename|for package] NN print only name of package name or package file
...
@@ -340,7 +340,7 @@ cat <<EOF
...
@@ -340,7 +340,7 @@ cat <<EOF
epm print compare [package] version N1 N2 compare (package) versions and print -1 (N1 < N2), 0 (N1 == N2), 1 (N1 > N2)
epm print compare [package] version N1 N2 compare (package) versions and print -1 (N1 < N2), 0 (N1 == N2), 1 (N1 > N2)
epm print enough [package version] package version returns true if the package with the version or above is installed
epm print enough [package version] package version returns true if the package with the version or above is installed
epm print constructname <name> <version> [arch] [pkgtype] [delimiter1] [delimiter2] print distro dependend package filename from args name version arch pkgtype
epm print constructname <name> <version> [arch] [pkgtype] [delimiter1] [delimiter2] print distro dependend package filename from args name version arch pkgtype
EOF
'
}
}
epm_print
()
epm_print
()
...
...
bin/epm-repo
View file @
e0c362cb
...
@@ -22,7 +22,7 @@ load_helper epm-sh-altlinux
...
@@ -22,7 +22,7 @@ load_helper epm-sh-altlinux
epm_repo_help
()
epm_repo_help
()
{
{
get_help HELPCMD
$SHAREDIR
/epm-repo
get_help HELPCMD
$SHAREDIR
/epm-repo
cat
<<
EOF
message
'
Examples:
Examples:
epm repo set p9 - clean all sources and add default repo for p9 branch
epm repo set p9 - clean all sources and add default repo for p9 branch
...
@@ -31,7 +31,7 @@ Examples:
...
@@ -31,7 +31,7 @@ Examples:
epm repo add autoimports - add autoimports (from Fedora) repo
epm repo add autoimports - add autoimports (from Fedora) repo
epm repo change yandex - change only base url part to mirror.yandex.ru server
epm repo change yandex - change only base url part to mirror.yandex.ru server
epm repo list - list current repos
epm repo list - list current repos
EOF
'
}
}
...
...
bin/epm-status
View file @
e0c362cb
...
@@ -208,7 +208,7 @@ epm_status_thirdparty()
...
@@ -208,7 +208,7 @@ epm_status_thirdparty()
epm_status_help
()
epm_status_help
()
{
{
cat
<<
EOF
message
'
epm status - check status of the package and return result via exit code
epm status - check status of the package and return result via exit code
Usage: epm status [options] <package> [version]
Usage: epm status [options] <package> [version]
...
@@ -218,11 +218,10 @@ Options:
...
@@ -218,11 +218,10 @@ Options:
--installable check if <package> can be installed from the repo
--installable check if <package> can be installed from the repo
--original check if <package> is from distro repo
--original check if <package> is from distro repo
--certified check if <package> is certified that it can be installed without repacking
--certified check if <package> is certified that it can be installed without repacking
--thirdparty check if <package> from a third-party source (didn
'
t packed for this distro)
--thirdparty check if <package> from a third-party source (didnt packed for this distro)
--repacked check if <package> was repacked with epm repack
--repacked check if <package> was repacked with epm repack
--validate check if <package> is accessible (we can get a fields from it)
--validate check if <package> is accessible (we can get a fields from it)
'
EOF
}
}
epm_status
()
epm_status
()
...
...
bin/epm-tool
View file @
e0c362cb
...
@@ -22,12 +22,12 @@ epm_tool_help()
...
@@ -22,12 +22,12 @@ epm_tool_help()
echo
"Tools embedded in epm:"
echo
"Tools embedded in epm:"
get_help HELPCMD
$SHAREDIR
/epm-tool
get_help HELPCMD
$SHAREDIR
/epm-tool
cat
<<
EOF
message
'
Examples:
Examples:
epm tool eget -U http://ya.ru
epm tool eget -U http://ya.ru
epm tool estrlist union a b a c
epm tool estrlist union a b a c
epm tool erc archive.zip
epm tool erc archive.zip
EOF
'
}
}
epm_tool
()
epm_tool
()
...
...
bin/esu
View file @
e0c362cb
...
@@ -50,10 +50,10 @@ load_helper epm-sh-functions
...
@@ -50,10 +50,10 @@ load_helper epm-sh-functions
esu_print_help
()
esu_print_help
()
{
{
cat
<<
EOF
message
'
esu - get root shell or run a command in root shell
esu - get root shell or run a command in root shell
Usage: esu [-c] [<command>]
Usage: esu [-c] [<command>]
EOF
'
}
}
...
...
bin/tools_eget
View file @
e0c362cb
...
@@ -359,7 +359,7 @@ set_quiet()
...
@@ -359,7 +359,7 @@ set_quiet()
eget_help
()
eget_help
()
{
{
cat
<<
EOF
message
'
eget - wget like downloader wrapper with wildcard support in filename part of URL
eget - wget like downloader wrapper with wildcard support in filename part of URL
Usage: eget [options] http://somesite.ru/dir/na*.log
Usage: eget [options] http://somesite.ru/dir/na*.log
...
@@ -407,10 +407,9 @@ Examples:
...
@@ -407,10 +407,9 @@ Examples:
$ eget -O myname ipfs://QmVRUjnsnxHWkjq91KreCpUk4D9oZEbMwNQ3rzdjwND5dR
$ eget -O myname ipfs://QmVRUjnsnxHWkjq91KreCpUk4D9oZEbMwNQ3rzdjwND5dR
$ eget --list http://ftp.somesite.ru/package-*.tar
$ eget --list http://ftp.somesite.ru/package-*.tar
$ eget --check-url http://ftp.somesite.ru/test
$ eget --check-url http://ftp.somesite.ru/test
$
eget --list http://download.somesite.ru 'package-*.tar.xz'
$ eget --list http://download.somesite.ru "package-*.tar.xz"
$
eget --list --latest https://github.com/telegramdesktop/tdesktop/releases 'tsetup.*.tar.xz'
$ eget --list --latest https://github.com/telegramdesktop/tdesktop/releases "tsetup.*.tar.xz"
'
EOF
}
}
...
...
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