Warning, file /multimedia/plasmatube/flatpak/regenerate-sources.sh was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 #!/usr/bin/env bash
0002 
0003 # SPDX-FileCopyrightText: 2021 Jonah BrĂ¼chert <jbb@kaidan.im>
0004 #
0005 # SPDX-License-Identifier: GPL-3.0-or-later
0006 
0007 
0008 set -e
0009 
0010 export GIT_CLONE_ARGS="--depth 1 --single-branch"
0011 export FLATPAK_DIR="$(readlink -f $(dirname $0))"
0012 cd ${FLATPAK_DIR}
0013 
0014 if [ ! -d flatpak-builder-tools ]; then
0015         git clone ${GIT_CLONE_ARGS} https://github.com/flatpak/flatpak-builder-tools
0016 else
0017         git -C flatpak-builder-tools pull
0018 fi
0019 
0020 ./flatpak-builder-tools/pip/flatpak-pip-generator yt-dlp