Fix erros
This commit is contained in:
parent
517e785dd0
commit
2f951ff31b
|
@ -10,7 +10,7 @@ fi
|
|||
|
||||
git clone https://github.com/dylanaraps/neofetch ~/.qpkg/neofetch
|
||||
|
||||
cd ~/.pkg/neofetch
|
||||
cd ~/.qpkg/neofetch
|
||||
|
||||
make PREFIX=$HOME/.local/bin install
|
||||
|
||||
|
|
9
qpkg
9
qpkg
|
@ -1,5 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
OLDPWD="$PWD"
|
||||
|
||||
if [ -d /tmp/qarch ]; then
|
||||
rm -rf /tmp/qarch
|
||||
fi
|
||||
|
@ -17,9 +19,4 @@ if [ "$1" == "" ]; then
|
|||
echo "Usage: qpkg <pkgname>"
|
||||
fi
|
||||
|
||||
curl 'http://git.vern.cc/quitaxd/qpkg/raw/branch/main/pkgs/$1.sh' | bash
|
||||
|
||||
if ! [ "$?" == "0" ]; then
|
||||
echo "Package $1 not found."
|
||||
exit 1
|
||||
fi
|
||||
curl http://git.vern.cc/quitaxd/qpkg/raw/branch/main/pkgs/$1.sh | bash
|
||||
|
|
Loading…
Reference in New Issue