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
53dabca4
Commit
53dabca4
authored
Apr 01, 2024
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: rewrite r7-office-organizer, add r7-office-organizer-pro
parent
e385f7d8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
66 additions
and
12 deletions
+66
-12
r7-office-organizer-pro.sh
play.d/r7-office-organizer-pro.sh
+44
-0
r7-office-organizer.sh
play.d/r7-office-organizer.sh
+22
-12
No files found.
play.d/r7-office-organizer-pro.sh
0 → 100755
View file @
53dabca4
#!/bin/sh
PKGNAME
=
r7-organizer_pro
SUPPORTEDARCHES
=
"x86_64"
VERSION
=
"
$2
"
DESCRIPTION
=
"R7 Office Organizer Pro for Linux from the official site"
URL
=
"https://r7-office.ru/downloadorganizer"
.
$(
dirname
$0
)
/common.sh
# hack with release part
[
"
$VERSION
"
=
"*"
]
||
VERSION
=
"
$VERSION
-1"
#arch=$(epm print info --distro-arch)
case
$(
epm print info
-p
)
in
rpm
)
mask
=
"centos/r7organizer_pro-
$VERSION
.x86_64.rpm"
;;
*
)
mask
=
"ubuntu/r7-organizer_pro_
${
VERSION
}
_amd64.deb"
;;
esac
case
$(
epm print info
-e
)
in
AstraLinuxSE/
*
)
mask
=
"astra/r7-organizer_pro_
${
VERSION
}
_astralinux-signed_amd64.deb"
;;
ALTLinux/
*
)
mask
=
"alt/r7organizer_pro-
${
VERSION
}
_altlinux.x86_64.rpm"
;;
esac
if
[
"
$VERSION
"
=
"*"
]
;
then
PKGURL
=
$(
eget
-U
--list
--latest
"https://r7-office.ru/downloadorganizer"
"
$mask
"
)
else
PKGURL
=
"https://download.r7-office.ru/organizer/
$mask
"
fi
# install with scripts (need for install icons and associations)
# see /etc/eepm/pkgallowscripts.list
# TODO: pack it into the package
epm
install
--scripts
"
$PKGURL
"
play.d/r7-office-organizer.sh
View file @
53dabca4
#!/bin/sh
PKGNAME
=
r7-o
ffice-o
rganizer
PKGNAME
=
r7-organizer
SUPPORTEDARCHES
=
"x86_64"
VERSION
=
"
$2
"
DESCRIPTION
=
"R7 Office Organizer for Linux from the official site"
URL
=
"https://
support.r7-office.ru/category/organizer/install_organizer/
"
URL
=
"https://
r7-office.ru/downloadorganizer
"
.
$(
dirname
$0
)
/common.sh
if
[
"
$VERSION
"
=
"*"
]
;
then
VERSION
=
"68.5.0"
fi
# TODO: add repack with conflicts to r7-office-organizer, r7-organizer-pro
# hack with release part
[
"
$VERSION
"
=
"68.5.0"
]
&&
VERSION
=
"
$VERSION
-5"
[
"
$VERSION
"
=
"*"
]
||
VERSION
=
"
$VERSION
-1"
#arch=$(epm print info --distro-arch)
case
$(
epm print info
-p
)
in
rpm
)
PKGURL
=
"https://download.r7-office.ru/centos/r7-office-organizer-
$VERSION
-centos.ru
.x86_64.rpm"
mask
=
"centos/r7organizer-
$VERSION
.x86_64.rpm"
;;
*
)
PKGURL
=
"https://download.r7-office.ru/ubuntu/r7-office-organizer-
$VERSION
.ru.x86_
64.deb"
mask
=
"ubuntu/r7-organizer_
${
VERSION
}
_ubuntu-20.04_amd
64.deb"
;;
esac
case
$(
epm print info
-e
)
in
ROSA/2021.1
)
PKGURL
=
"https://download.r7-office.ru/rosa/r7-office-organizer-
$VERSION
-rosa.ru.x86_64.rpm
"
AstraLinuxSE/
*
)
mask
=
"astra/r7-organizer_
${
VERSION
}
_astralinux-signed_amd64.deb
"
;;
# Ubuntu/*)
# mask="ubuntu/r7-organizer_${VERSION}_ubuntu-20.04_amd64.deb"
# ;;
ALTLinux/
*
)
PKGURL
=
"https://download.r7-office.ru/altlinux/r7-office-organizer-
$VERSION
-altlinux.ru
.x86_64.rpm"
mask
=
"alt/r7organizer-
${
VERSION
}
_altlinux
.x86_64.rpm"
;;
esac
if
[
"
$VERSION
"
=
"*"
]
;
then
PKGURL
=
$(
eget
-U
--list
--latest
"https://r7-office.ru/downloadorganizer"
"
$mask
"
)
else
PKGURL
=
"https://download.r7-office.ru/organizer/
$mask
"
fi
# install with scripts (need for install icons and associations)
# see /etc/eepm/pkgallowscripts.list
# TODO: pack it into the package
epm
install
"
$PKGURL
"
epm
install
--scripts
"
$PKGURL
"
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