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
Vladislav
eepm
Commits
eea0fc4f
Commit
eea0fc4f
authored
Feb 08, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add assistant, myoffice, r7-office to pkgallowscripts.list to use --scripts by default
parent
40ce7026
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
15 deletions
+9
-15
pkgallowscripts.list
etc/pkgallowscripts.list
+3
-0
assistant.sh
play.d/assistant.sh
+2
-10
myoffice.sh
play.d/myoffice.sh
+2
-3
r7office.sh
play.d/r7office.sh
+2
-2
No files found.
etc/pkgallowscripts.list
View file @
eea0fc4f
...
...
@@ -2,4 +2,7 @@
# Packages with this names epm will install with scripts by default
myoffice-*
r7-office
cprocsp-*
# vendor: SAFIB
assistant
play.d/assistant.sh
View file @
eea0fc4f
...
...
@@ -4,11 +4,8 @@ PKGNAME=assistant
SUPPORTEDARCHES
=
"x86_64 aarch64"
DESCRIPTION
=
"Assistant (Ассистент) from the official site"
# Assistant reclaim their rpm package supports ALT
repack
=
"--scripts"
if
[
"
$1
"
=
"--remove"
]
;
then
epm remove
$
repack
$
PKGNAME
epm remove
$PKGNAME
exit
fi
...
...
@@ -62,14 +59,9 @@ esac
# assistant: Требует: /lib/init/vars.sh но пакет не может быть установлен
# Требует: libyuv.so()(64bit) но пакет не может быть установлен
#repack=''
#[ "$($DISTRVENDOR -p)" = "deb" ] || repack='--repack'
[
"
$(
$DISTRVENDOR
-s
)
"
=
"alt"
]
&&
epmi
--skip-installed
fontconfig-disable-type1-font-for-assistant
LANG
=
ru_RU.UTF8 epm
$repack
install
"
$URL
"
||
exit
[
"
$repack
"
=
"--scripts"
]
&&
echo
"Warning! Privileged scripts from the vendor were running."
LANG
=
ru_RU.UTF8 epm
install
"
$URL
"
||
exit
# TODO:
# after install:
...
...
play.d/myoffice.sh
View file @
eea0fc4f
...
...
@@ -5,8 +5,7 @@ SUPPORTEDARCHES="x86_64"
DESCRIPTION
=
"MyOffice Standart Home Edition for Linux from the official site"
if
[
"
$1
"
=
"--remove"
]
;
then
# Allow scripts: MyOffice reclaims their rpm package supports ALT
epm remove
--scripts
$PKGNAME
epm remove
$PKGNAME
exit
fi
...
...
@@ -24,4 +23,4 @@ PKGMASK="$(epm print constructname $PKGNAME "*" $arch)"
PKG
=
"
$(
epm tool eget
--list
--latest
https://myoffice.ru/products/standard-home-edition/
$PKGMASK
)
"
||
fatal
"Can't get package URL"
epm
--scripts
install
"
$PKG
"
epm
install
"
$PKG
"
play.d/r7office.sh
View file @
eea0fc4f
...
...
@@ -6,7 +6,7 @@ DESCRIPTION="R7 Office for Linux from the official site"
# remove with scripts (need for remove icons and associations)
if
[
"
$1
"
=
"--remove"
]
;
then
epm remove
--scripts
$PKGNAME
epm remove
$PKGNAME
exit
fi
...
...
@@ -38,4 +38,4 @@ esac
# install with scripts (need for install icons and associations)
# TODO: pack it into the package
epm
install
--scripts
"
$PKG
"
epm
install
"
$PKG
"
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