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
f5c76143
Commit
f5c76143
authored
Mar 28, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack: small cleanup
parent
619231e9
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
13 deletions
+7
-13
epm-repack
bin/epm-repack
+1
-1
common-chromium-browser.sh
repack.d/common-chromium-browser.sh
+2
-1
yandex-browser-beta.sh
repack.d/yandex-browser-beta.sh
+2
-5
yandex-browser-stable.sh
repack.d/yandex-browser-stable.sh
+2
-6
No files found.
bin/epm-repack
View file @
f5c76143
...
@@ -154,7 +154,7 @@ EOF
...
@@ -154,7 +154,7 @@ EOF
# args: pkgname buildroot spec
# args: pkgname buildroot spec
__apply_fix_code
()
__apply_fix_code
()
{
{
local
repackcode
=
"
$
CONFIGDIR
/repack.d/
$1
.sh
"
local
repackcode
=
"
$
(
realpath
$CONFIGDIR
/repack.d/
$1
.sh
)
"
[
-x
"
$repackcode
"
]
||
return
[
-x
"
$repackcode
"
]
||
return
shift
shift
export
PATH
=
$PROGDIR
:
$PATH
export
PATH
=
$PROGDIR
:
$PATH
...
...
repack.d/common-chromium-browser.sh
View file @
f5c76143
...
@@ -48,7 +48,7 @@ remove_file()
...
@@ -48,7 +48,7 @@ remove_file()
local
file
=
"
$1
"
local
file
=
"
$1
"
[
-f
$BUILDROOT
/
$file
]
||
return
[
-f
$BUILDROOT
/
$file
]
||
return
rm
-f
$BUILDROOT
/
$file
rm
-f
v
$BUILDROOT
/
$file
subst
"s|.*
$file
.*||"
$SPEC
subst
"s|.*
$file
.*||"
$SPEC
}
}
...
@@ -62,6 +62,7 @@ cleanup()
...
@@ -62,6 +62,7 @@ cleanup()
# remove unsupported file
# remove unsupported file
remove_file /usr/share/menu/
$PRODUCT
.menu
remove_file /usr/share/menu/
$PRODUCT
.menu
remove_file /usr/share/menu/
$PRODUCTCUR
.menu
}
}
...
...
repack.d/yandex-browser-beta.sh
View file @
f5c76143
...
@@ -8,9 +8,10 @@ PRODUCT=yandex-browser
...
@@ -8,9 +8,10 @@ PRODUCT=yandex-browser
PRODUCTCUR
=
yandex-browser-beta
PRODUCTCUR
=
yandex-browser-beta
PRODUCTDIR
=
/opt/yandex/browser-beta
PRODUCTDIR
=
/opt/yandex/browser-beta
.
$(
dirname
$0
)
/common-chromium-browser.sh
subst
'1iConflicts:yandex-browser-stable'
$SPEC
subst
'1iConflicts:yandex-browser-stable'
$SPEC
.
$(
dirname
$0
)
/common-chromium-browser.sh
set_alt_alternatives 65
set_alt_alternatives 65
...
@@ -24,7 +25,3 @@ use_system_xdg
...
@@ -24,7 +25,3 @@ use_system_xdg
install_deps
install_deps
#if ! grep -q '^"/usr/bin/yandex-browser"' $SPEC ; then
# subst 's|\(.*/usr/bin/yandex-browser.*\)|"/usr/bin/yandex-browser"\n\1|' $SPEC
#fi
repack.d/yandex-browser-stable.sh
View file @
f5c76143
...
@@ -8,10 +8,10 @@ PRODUCT=yandex-browser
...
@@ -8,10 +8,10 @@ PRODUCT=yandex-browser
PRODUCTCUR
=
yandex-browser-stable
PRODUCTCUR
=
yandex-browser-stable
PRODUCTDIR
=
/opt/yandex/browser
PRODUCTDIR
=
/opt/yandex/browser
subst
'1iConflicts:yandex-browser-beta'
$SPEC
.
$(
dirname
$0
)
/common-chromium-browser.sh
.
$(
dirname
$0
)
/common-chromium-browser.sh
subst
'1iConflicts:yandex-browser-beta'
$SPEC
set_alt_alternatives 65
set_alt_alternatives 65
copy_icons_to_share
copy_icons_to_share
...
@@ -24,7 +24,3 @@ use_system_xdg
...
@@ -24,7 +24,3 @@ use_system_xdg
install_deps
install_deps
#if ! grep -q '^"/usr/bin/yandex-browser"' $SPEC ; then
# subst 's|\(.*/usr/bin/yandex-browser.*\)|"/usr/bin/yandex-browser"\n\1|' $SPEC
#fi
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