Skip to content

Commit

Permalink
don't try to silence the sudo runs
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuseteam committed Apr 16, 2024
1 parent 19a84f2 commit b8bb72c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/linkfunc
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ function link_lib(){

function link_bin(){
[ ! -d "$HOME/.local/bin" ] && mkdir -p "$HOME/.local/bin";
[ ! -d "$SUDO_BIN" ] && sudo_run "mkdir -p $SUDO_BIN 2> /dev/null";
[ ! -d "$SUDO_BIN" ] && sudo_run "mkdir -p $SUDO_BIN";
[ -d "$PKGS_DIR/bin" ] && ln -s $PKGS_DIR/bin/* $PKG_PREFIX/bin 2> /dev/null;
[ -d "$PKGS_DIR/sbin" ] && sudo_run "ln -s $PKGS_DIR/sbin/* $SUDO_BIN 2> /dev/null";
[ -d "$PKGS_DIR/sbin" ] && sudo_run "ln -s $PKGS_DIR/sbin/* $SUDO_BIN";
[ -d "$PKGS_DIR/usr/bin" ] && ln -s $PKGS_DIR/usr/bin/* $PKG_PREFIX/bin 2> /dev/null;
[ -d "$PKGS_DIR/usr/sbin" ] && sudo_run "ln -s $PKGS_DIR/usr/sbin/* $SUDO_BIN 2> /dev/null";
[ -d "$PKGS_DIR/usr/sbin" ] && sudo_run "ln -s $PKGS_DIR/usr/sbin/* $SUDO_BIN";
[ -d "$PKGS_DIR/usr/games" ] && ln -s $PKGS_DIR/usr/games/* $PKG_PREFIX/bin 2> /dev/null;
sudo -K;
}
Expand Down

0 comments on commit b8bb72c

Please sign in to comment.