10 lines
280 B
Bash
Executable File
10 lines
280 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Copyright (C) 2026 Bryan Joshua Pedini
|
|
|
|
# fake pacman-conf (unit tests): the "real" pacman database lives in $FAKE_PACMAN_DBPATH
|
|
case ${1:-} in
|
|
DBPath) printf '%s/\n' "${FAKE_PACMAN_DBPATH:?}" ;;
|
|
*) exit 1 ;;
|
|
esac
|