Skip to content

Commit

Permalink
iglu: use /run instead of /var
Browse files Browse the repository at this point in the history
  • Loading branch information
Ella-0 committed Jul 13, 2024
1 parent 43bbde5 commit e38ee97
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion iglu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,16 @@ case "$1" in

case "$name" in
*.xbps)
REPO=/var/lib/iglu
REPO=/run/iglu
mkdir -p $REPO
cp "$name" "$REPO"
cd "$REPO"
rm -f *-repodata
xbps-rindex -a *.xbps
cd -
b_name=$(basename "$name" | cut -d'.' -f1 | rev | cut -d'-' -f2- | rev)
xbps-install $xbps_extra_args --repository="$REPO" "$b_name" -f
rm -rf $REPO
;;
*)
xbps-install "$name"
Expand Down

0 comments on commit e38ee97

Please sign in to comment.