mirror of https://git.tuxpa.in/a/code-server.git
Improve aur installation clarity
This commit is contained in:
parent
fa45fd0e31
commit
06c26a22cd
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue