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
e3b17425
Commit
e3b17425
authored
Oct 04, 2020
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add epm prescription support
parent
3b242af0
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
45 additions
and
36 deletions
+45
-36
epm
bin/epm
+3
-0
epm-prescription
bin/epm-prescription
+42
-0
i586-wine-etersoft.sh
receipts.d/i586-wine-etersoft.sh
+0
-12
i586-wine-vanilla.sh
receipts.d/i586-wine-vanilla.sh
+0
-12
i586-wine.sh
receipts.d/i586-wine.sh
+0
-12
No files found.
bin/epm
View file @
e3b17425
...
...
@@ -327,6 +327,9 @@ check_command()
repack
)
# HELPCMD: repack rpm to local compatibility
epm_cmd
=
repack
;;
prescription|recipe
)
# HELPCMD: run prescription (a script to achieving the goal), run without args to get list
epm_cmd
=
prescription
;;
-V
|
checkpkg|integrity
)
# HELPCMD: check package file integrity (checksum)
epm_cmd
=
checkpkg
;;
...
...
bin/epm-prescription
0 → 100644
View file @
e3b17425
#!/bin/sh
#
# Copyright (C) 2015, 2017, 2019, 2020 Etersoft
# Copyright (C) 2015, 2017, 2019, 2020 Vitaly Lipatov <lav@etersoft.ru>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
epm_prescription
()
{
local
psdir
=
"
$CONFIGDIR
/prescription.d"
if
[
-z
"
$pkg_filenames
"
]
;
then
echo
"Run with a name of a prescription to run:"
for
i
in
$psdir
/
*
.sh
;
do
printf
" %-20s - %s
\n
"
"
$(
basename
$i
.sh
)
"
"
$(
$i
--description
)
"
done
return
fi
local
script
=
"
$psdir
/
$1
.sh"
if
[
!
-x
"
$script
"
]
;
then
fatal
"Can't find
$script
prescription."
fi
info
"Running
$(
$script
--description
)
..."
docmd
$script
--run
}
receipts.d/i586-wine-etersoft.sh
deleted
100755 → 0
View file @
3b242af0
#!/bin/sh
MAIN
=
wine-etersoft
# Устанавливаем wine
epmi lib
$MAIN
i586-
$MAIN
i586-lib
$MAIN
i586-lib
$MAIN
-gl
# Модули, могут не быть в системе
epmi i586-glibc-nss i586-glibc-gconv-modules
# Если используется AD, потребуется
epm installed sssd-client
&&
epmi i586-sssd-client
receipts.d/i586-wine-vanilla.sh
deleted
100755 → 0
View file @
3b242af0
#!/bin/sh
MAIN
=
wine-vanilla
# Устанавливаем wine
epmi lib
$MAIN
i586-
$MAIN
i586-lib
$MAIN
i586-lib
$MAIN
-gl
# Модули, могут не быть в системе
epmi i586-glibc-nss i586-glibc-gconv-modules
# Если используется AD, потребуется
epm installed sssd-client
&&
epmi i586-sssd-client
receipts.d/i586-wine.sh
deleted
100755 → 0
View file @
3b242af0
#!/bin/sh
MAIN
=
wine
# Устанавливаем wine
epmi lib
$MAIN
i586-
$MAIN
i586-lib
$MAIN
i586-lib
$MAIN
-gl
# Модули, могут не быть в системе
epmi i586-glibc-nss i586-glibc-gconv-modules
# Если используется AD, потребуется
epm installed sssd-client
&&
epmi i586-sssd-client
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