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
7be47c88
Commit
7be47c88
authored
May 07, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: move detect code to a correct place
parent
d15e9d09
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
18 deletions
+19
-18
wine.sh
play.d/wine.sh
+19
-18
No files found.
play.d/wine.sh
View file @
7be47c88
...
...
@@ -7,6 +7,25 @@ VERSION="$2"
TIPS
=
"Run epm play wine=wine-vanilla to install wine-vanilla package"
MAIN
=
wine
PKGCOMMON
=
"wine-mono wine-gecko winetricks"
[
-n
"
$VERSION
"
]
&&
[
"
$VERSION
"
!=
"*"
]
&&
MAIN
=
"
$VERSION
"
VERSION
=
""
if
[
"
$MAIN
"
=
"wine-etersoft"
]
;
then
PKGCOMMON
=
"wine-etersoft-mono wine-etersoft-gecko wine-etersoft-winetricks"
PKGNAMES
=
"wine-etersoft"
PKGNAMES32
=
"wine32-etersoft"
fi
# FIXME: wrong epm
if
[
"
$1
"
=
"--remove"
]
;
then
epm remove
$(
epm qp
$MAIN
-
)
epm remove
$PKGCOMMON
exit
fi
.
$(
dirname
$0
)
/common.sh
vendor
=
"
$(
epm print info
-s
)
"
arch
=
"
$(
epm print info
-a
)
"
...
...
@@ -24,24 +43,6 @@ if [ "$vendor" != "alt" ] ; then
exit
fi
PKGCOMMON
=
"wine-mono wine-gecko winetricks"
[
-n
"
$VERSION
"
]
&&
MAIN
=
"
$VERSION
"
VERSION
=
""
if
[
"
$MAIN
"
=
"wine-etersoft"
]
;
then
PKGCOMMON
=
"wine-etersoft-mono wine-etersoft-gecko wine-etersoft-winetricks"
PKGNAMES
=
"wine-etersoft"
PKGNAMES32
=
"wine32-etersoft"
fi
if
[
"
$1
"
=
"--remove"
]
;
then
epm remove
$(
epmqp
$MAIN
-
)
epm remove
$PKGCOMMON
exit
fi
.
$(
dirname
$0
)
/common.sh
ONLY32
=
''
[
"
$3
"
=
"--only-i586"
]
&&
ONLY32
=
1
&&
shift
...
...
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