libdevuansdk (1159B)
1 #!/usr/bin/env zsh 2 # shellcheck shell=bash 3 # Copyright (c) 2016-2021 Ivan J. <parazyd@dyne.org> 4 # This file is part of libdevuansdk 5 # 6 # This source code is free software: you can redistribute it and/or modify 7 # it under the terms of the GNU General Public License as published by 8 # the Free Software Foundation, either version 3 of the License, or 9 # (at your option) any later version. 10 # 11 # This software is distributed in the hope that it will be useful, 12 # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 # GNU General Public License for more details. 15 # 16 # You should have received a copy of the GNU General Public License 17 # along with this source code. If not, see <http://www.gnu.org/licenses/>. 18 19 vars+=(libdevuansdk_version LIBPATH) 20 21 libdevuansdk_version="2.0" 22 LIBPATH="${LIBPATH:-$(dirname $0)}" 23 24 source "$LIBPATH/config" 25 source "$LIBPATH/zlibs/bootstrap" 26 source "$LIBPATH/zlibs/helpers" 27 source "$LIBPATH/zlibs/imaging" 28 source "$LIBPATH/zlibs/iso" 29 source "$LIBPATH/zlibs/vm" 30 source "$LIBPATH/zlibs/sysconf" 31 32 setopt pushdsilent 33 34 act "libdevuansdk v$libdevuansdk_version loaded"