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