Files
contrib/editor/obsidian/actions.py
T
2026-06-27 23:27:13 +03:00

22 lines
524 B
Python

#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import get, pisitools, shelltools
NoStrip = ["/usr"]
IgnoreAutodep = True
Version = get.srcVERSION()
def setup():
shelltools.system("pwd")
shelltools.system("ar xf obsidian_%s_amd64.deb" % get.srcVERSION())
shelltools.system("tar xf data.tar.xz")
def install():
pisitools.insinto("/", "usr")
pisitools.insinto("/", "opt")