Skip to content

Commit 06c26a2

Browse files
committed
Improve aur installation clarity
1 parent fa45fd0 commit 06c26a2

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

install.sh

+2-5
Original file line numberDiff line numberDiff line change
@@ -292,12 +292,9 @@ install_aur() {
292292
VERSION="$(. "$tmp_dir/code-server/PKGBUILD" && echo "$pkgver")"
293293
rm -R "$tmp_dir"
294294

295-
mkdir -p "$CACHE_DIR/code-server-$VERSION-aur"
295+
sh_c mkdir -p "$CACHE_DIR/code-server-$VERSION-aur"
296296
sh_c cp -a "$tmp_dir/code-server/*" "$CACHE_DIR/code-server-$VERSION-aur"
297-
298-
echo "+ Installing $CACHE_DIR/code-server-$VERSION-aur"
299-
300-
cd "$CACHE_DIR/code-server-$VERSION-aur"
297+
sh_c cd "$CACHE_DIR/code-server-$VERSION-aur"
301298
sh_c makepkg -si
302299

303300
echo_systemd_postinstall

0 commit comments

Comments
 (0)