19 lines
604 B
Python
19 lines
604 B
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
#
|
|
# Licensed under the GNU General Public License, version 3.
|
|
# See the file http://www.gnu.org/copyleft/gpl.txt
|
|
from pisi.actionsapi import get, pisitools, shelltools
|
|
|
|
|
|
def setup():
|
|
#shelltools.system("pwd")
|
|
|
|
shelltools.system("unzip brave-browser-nightly-%s-linux-amd64.zip" % get.srcVERSION())
|
|
shelltools.system("rm brave-browser-nightly-%s-linux-amd64.zip" % get.srcVERSION())
|
|
|
|
|
|
def install():
|
|
pisitools.insinto("/opt/brave-browser-nightly/", "*")
|
|
pisitools.dosym("/opt/brave-browser-nightly/brave","/usr/bin/brave-browser-nightly")
|