Improve aur installation clarity

This commit is contained in:
Anmol Sethi 2020-05-27 16:01:06 -04:00
parent fa45fd0e31
commit 06c26a22cd
No known key found for this signature in database
GPG Key ID: 8CEF1878FF10ADEB
1 changed files with 2 additions and 5 deletions

View File

@ -292,12 +292,9 @@ install_aur() {
VERSION="$(. "$tmp_dir/code-server/PKGBUILD" && echo "$pkgver")" VERSION="$(. "$tmp_dir/code-server/PKGBUILD" && echo "$pkgver")"
rm -R "$tmp_dir" rm -R "$tmp_dir"
mkdir -p "$CACHE_DIR/code-server-$VERSION-aur" sh_c mkdir -p "$CACHE_DIR/code-server-$VERSION-aur"
sh_c cp -a "$tmp_dir/code-server/*" "$CACHE_DIR/code-server-$VERSION-aur" sh_c cp -a "$tmp_dir/code-server/*" "$CACHE_DIR/code-server-$VERSION-aur"
sh_c cd "$CACHE_DIR/code-server-$VERSION-aur"
echo "+ Installing $CACHE_DIR/code-server-$VERSION-aur"
cd "$CACHE_DIR/code-server-$VERSION-aur"
sh_c makepkg -si sh_c makepkg -si
echo_systemd_postinstall echo_systemd_postinstall