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
89d33e80
Commit
89d33e80
authored
Nov 25, 2020
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add repack microsoft-edge.sh (for future)
parent
c4b59bb3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
microsoft-edge.sh
repack.d/microsoft-edge.sh
+22
-0
No files found.
repack.d/microsoft-edge.sh
0 → 100755
View file @
89d33e80
#!/bin/sh -x
# It will run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
PRODUCT
=
microsoft-edge
PRODUCTDIR
=
/opt/microsoft/msedge
subst
's|%files|%files\n/usr/share/icons/hicolor/*x*/apps/*.png|'
$SPEC
for
i
in
16 22 24 32 48 64 128 256
;
do
mkdir
-p
$BUILDROOT
/usr/share/icons/hicolor/
${
i
}
x
${
i
}
/apps/
cp
$BUILDROOT
/
$PRODUCTDIR
/product_logo_
${
i
}
.png
$BUILDROOT
/usr/share/icons/hicolor/
${
i
}
x
${
i
}
/apps/
$PRODUCT
.png
done
rm
-f
$BUILDROOT
/etc/cron.daily/
$PRODUCT
subst
"s|.*/etc/cron.daily/
$PRODUCT
.*||"
$SPEC
# unsupported format
rm
-f
$BUILDROOT
/usr/share/menu/microsoft-edge.menu
subst
"s|.*/usr/share/menu/microsoft-edge.menu.*||"
$SPEC
#[ -e $BUILDROOT/usr/bin/microsoft-edge ] || ln -s $PRODUCT $BUILDROOT/usr/bin/microsoft-edge
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