#!/usr/bin/sed -rf # librefetchdir/source.sh.gen # # Copyright (C) 2013, 2016, 2018 Luke Shumaker # # License: GNU GPLv3+ # # This file is part of LibreFetch. # # LibreFetch is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # LibreFetch is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with LibreFetch. If not, see . /download_sources\(\) \{/ { arm -rf "$srcdir"\nmkdir "$srcdir" } s|DBG "source.sh::|DBG "source.sh::| s|source "$LIBRARY/util/source.sh"|source "$LIBRARY/util/source.sh" ; DBG "source.sh LIBRARY=$LIBRARY"| s|source "$lib"|DBG "source.sh source $lib" ; source "$lib"|