We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ln
i added some checks to solve it:
#!/bin/sh -e # xdowngrade PKGS.xbps... - install XBPS package directly from .xbps file help() { echo "Install XBPS package directly from .xbps file." echo "usage: $0 PKGS.xbps ..." rm -r $T exit 0 } T=$(mktemp --tmpdir -d xdowngrade-$(date -I).XXXXXXXX) pkg= for f; do case $f in *.xbps) ln -s -r -t $T/ "$f" f=${f##*/} f=${f%.*.*} pkg="$pkg ${f%-*}" ;; *) echo "Wrong argument $f." help ;; esac done if [ ! -z "$pkg" ]; then xbps-rindex -a $T/* xbps-install -i -R $T -f $pkg else help fi rm -r $T exit 0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
i added some checks to solve it:
The text was updated successfully, but these errors were encountered: