15 lines
445 B
Python
15 lines
445 B
Python
#!/usr/bin/env python
|
|
# -*- 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("tar xvzf ngrok-v3-stable-linux-amd64.tgz")
|
|
|
|
def install():
|
|
pisitools.insinto("/opt/ngrok", "ngrok")
|
|
pisitools.dosym("/opt/ngrok/ngrok", "/usr/bin/ngrok") |