Skip to content

Commit

Permalink
Revert "convert trusted.gpg.d into symlink"
Browse files Browse the repository at this point in the history
This reverts commit 46895bf.
  • Loading branch information
Fuseteam committed Apr 14, 2024
1 parent 2446b63 commit 9c9858f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/pkgfunc
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,9 @@ function pkgsetup(){
[[ -d "$APTCACHE" ]] || mkdir -p "$APTCACHE";
[[ -d "$APTSTATE" ]] || mkdir -p "$APTSTATE";
[[ -d "$APTCONFIG" ]] || {
mkdir -p $APTCONFIG/sources.list.d $APTCONFIG/preferences.d $PKG_PATH/usr/share/keyrings;
ln -s $PKG_PATH/usr/share/keyrings $APTCONFIG/trusted.gpg.d
mkdir -p $APTCONFIG/sources.list.d $APTCONFIG/preferences.d $APTCONFIG/trusted.gpg.d;
ln -s /etc/apt/sources.list $APTCONFIG;
[[ -n "$(ls /etc/apt/trusted.gpg.d)" ]] && ln -s /etc/apt/trusted.gpg.d/* $PKG_PATH/usr/share/keyrings/;
[[ -n "$(ls /etc/apt/trusted.gpg.d)" ]] && ln -s /etc/apt/trusted.gpg.d/* $APTCONFIG/trusted.gpg.d/;
}
[ -d "$APTSTATE/lists" ] || {
say "Fetching package lists...";
Expand Down

0 comments on commit 9c9858f

Please sign in to comment.