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
Nurlan
eepm
Commits
aea2f772
Commit
aea2f772
authored
Mar 20, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play scripts: cleanup
parent
23251b2a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
7 deletions
+11
-7
discord.sh
repack.d/discord.sh
+7
-6
example.sh
repack.d/example.sh
+2
-0
yandex-browser-beta.sh
repack.d/yandex-browser-beta.sh
+2
-1
No files found.
repack.d/discord.sh
View file @
aea2f772
...
@@ -6,16 +6,17 @@ SPEC="$2"
...
@@ -6,16 +6,17 @@ SPEC="$2"
PRODUCT
=
discord
PRODUCT
=
discord
LIBDIR
=
/opt
LIBDIR
=
/opt
PRODUCTDIR
=
/opt/
$PRODUCT
mkdir
-p
$BUILDROOT$LIBDIR
/
mkdir
-p
$BUILDROOT$LIBDIR
/
mv
$BUILDROOT
/usr/share/
$PRODUCT
/
$BUILDROOT$
LIBDIR
/
$PRODUCT
/
mv
$BUILDROOT
/usr/share/
$PRODUCT
/
$BUILDROOT$
PRODUCTDIR
/
subst
"s|/usr/share/
$PRODUCT
|
$
LIBDIR
/
$PRODUCT
|g"
$SPEC
subst
"s|/usr/share/
$PRODUCT
|
$
PRODUCTDIR
|g"
$SPEC
subst
'1iAutoProv:no'
$SPEC
subst
'1iAutoProv:no'
$SPEC
# usual command skype
# usual command skype
mkdir
-p
$BUILDROOT
/usr/bin/
mkdir
-p
$BUILDROOT
/usr/bin/
ln
-sf
$
LIBDIR
/
$PRODUCT
/Discord
$BUILDROOT
/usr/bin/
$PRODUCT
ln
-sf
$
PRODUCTDIR
/Discord
$BUILDROOT
/usr/bin/
$PRODUCT
subst
"s|/usr/share/discord/Discord|/usr/bin/
$PRODUCT
|g"
$BUILDROOT
/
$
LIBDIR
/
$PRODUCT
/discord.desktop
subst
"s|/usr/share/discord/Discord|/usr/bin/
$PRODUCT
|g"
$BUILDROOT
/
$
PRODUCTDIR
/discord.desktop
ln
-sf
$
LIBDIR
/
$PRODUCT
/discord.desktop
$BUILDROOT
/usr/share/applications/discord.desktop
ln
-sf
$
PRODUCTDIR
/discord.desktop
$BUILDROOT
/usr/share/applications/discord.desktop
ln
-sf
$
LIBDIR
/
$PRODUCT
/discord.png
$BUILDROOT
/usr/share/pixmaps/discord.png
ln
-sf
$
PRODUCTDIR
/discord.png
$BUILDROOT
/usr/share/pixmaps/discord.png
repack.d/example.sh
View file @
aea2f772
...
@@ -3,6 +3,8 @@
...
@@ -3,6 +3,8 @@
# It will be run with two args: buildroot spec
# It will be run with two args: buildroot spec
# Name this script as package name
# Name this script as package name
# You can use EGET and SUDO variable, distr_vendor and epm commands
BUILDROOT
=
"
$1
"
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
SPEC
=
"
$2
"
repack.d/yandex-browser-beta.sh
View file @
aea2f772
...
@@ -39,7 +39,8 @@ fi
...
@@ -39,7 +39,8 @@ fi
[
-x
$BUILDROOT
/usr/bin/yandex-browser
]
||
ln
-sv
yandex-browser-beta
$BUILDROOT
/usr/bin/yandex-browser
[
-x
$BUILDROOT
/usr/bin/yandex-browser
]
||
ln
-sv
yandex-browser-beta
$BUILDROOT
/usr/bin/yandex-browser
# replace embedded xdg tools
# replace embedded xdg tools
for
EMBDIR
in
/opt/yandex/browser-beta/
{
xdg-mime,xdg-settings
}
;
do
for
EMBDIR
in
$PRODUCTDIR
/
{
xdg-mime,xdg-settings
}
;
do
[
-s
$BUILDROOT$EMBDIR
]
||
continue
rm
-v
$BUILDROOT$EMBDIR
rm
-v
$BUILDROOT$EMBDIR
ln
-s
/usr/bin/
$(
basename
$EMBDIR
)
$BUILDROOT$EMBDIR
ln
-s
/usr/bin/
$(
basename
$EMBDIR
)
$BUILDROOT$EMBDIR
done
done
...
...
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