[bugfix] installation failed
This commit is contained in:
parent
fa4f4cc0b0
commit
94314a4ac2
|
@ -37,16 +37,11 @@ case "$PM" in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# clone / compile utilities and dwm itself
|
# clone / compile utilities and dwm itself
|
||||||
REPOS="$DIR/suckless/repos"
|
|
||||||
mkdir -p "$REPOS"
|
|
||||||
|
|
||||||
installrepo () {
|
installrepo () {
|
||||||
ODIR=$(pwd)
|
intorepo "$1" "$DIR/repos/$2"
|
||||||
REPO="$DIR/repos/$2"
|
|
||||||
[ ! -d "$REPO" ] && git clone --depth "$1" "$REPO"
|
|
||||||
cd "$REPO"
|
|
||||||
make && sudo make install
|
make && sudo make install
|
||||||
cd "$ODIR"
|
exitrepo
|
||||||
}
|
}
|
||||||
|
|
||||||
installrepo https://gitee.com/klesh/st.git st
|
installrepo https://gitee.com/klesh/st.git st
|
||||||
|
|
Loading…
Reference in New Issue
Block a user