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
a798c60a
Commit
a798c60a
authored
Mar 30, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add alivecolors support
parent
8216d08e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
69 additions
and
0 deletions
+69
-0
alivecolors.sh
play.d/alivecolors.sh
+69
-0
No files found.
play.d/alivecolors.sh
0 → 100755
View file @
a798c60a
#!/bin/sh
PKGNAME
=
alivecolors
SUPPORTEDARCHES
=
"x86_64"
DESCRIPTION
=
"AliveColors from the official site"
case
"
$1
"
in
"--remove"
)
epm remove
$(
epmqp
$PKGNAME
-
)
epm repo remove akvis
exit
;;
esac
.
$(
dirname
$0
)
/common.sh
# Vendor instruction: https://alivecolors.com/ru/tutorial/howwork/install-linux.php
case
$(
epm print info
-s
)
in
alt
)
epm repo add
"rpm http://akvis-alt.sfo2.cdn.digitaloceanspaces.com x86_64 akvis"
epm repo add
"rpm http://akvis-alt.sfo2.cdn.digitaloceanspaces.com noarch akvis"
epm update
epm
install
$PKGNAME
echo
"Run alivecolors:"
echo
"
$
LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu alivecolors"
exit
;;
suse
)
# TODO: check and remove, the same as for dnf-part
#a= rpm --import http://akvis.com/akvis.asc
epm repo addkey http://akvis.com/akvis.asc
# zypper ar -r https://akvis.com/akvis.repo akvis
epm repo add https://akvis.com/akvis.repo
# zypper ref
epm update
epm
install
$PKGNAME
exit
;;
*
)
fatal
"Unsupported distro."
esac
case
$(
epm print info
-g
)
in
dnf-rpm|yum-rpm
)
#sudo rpm --import https://akvis.com/akvis.asc
epm repo addkey http://akvis.com/akvis.asc
#sudo wget -O /etc/yum.repos.d/akvis.repo https://akvis.com/akvis.repo
epm repo add https://akvis.com/akvis.repo
epm update
epm
install
$PKGNAME
exit
;;
apt-dpkg
)
# TODO: add key support
#sudo mkdir -p /usr/share/keyrings
#eget -O - https://akvis.com/akvis.gpg | sudo tee /usr/share/keyrings/akvis.gpg >/dev/null
#epm repo add 'deb [arch-=i386 signed-by=/usr/share/keyrings/akvis.gpg] https://akvis-deb.sfo2.cdn.digitaloceanspaces.com akvis non-free'
epm repo add
'deb [arch-=i386] https://akvis-deb.sfo2.cdn.digitaloceanspaces.com akvis non-free'
epm update
epm
install
$PKGNAME
exit
;;
*
)
fatal
"Unsupported packaging system"
esac
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