]> gitweb.fluxo.info Git - trashman.git/commitdiff
Minor fixes
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 16 Aug 2020 11:52:55 +0000 (08:52 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 16 Aug 2020 11:52:55 +0000 (08:52 -0300)
share/trashman/nix/unix/linux/install
share/trashman/xbps/unix/linux/debian/install

index f8c4aeb0dbcb7fb1b20391fbe9f71b47d4dc7bb1..f8efe7b74a0c03680497d7144808a3e6d7757b3a 100755 (executable)
@@ -6,7 +6,6 @@
 # Parameters
 SHARE="$1"
 BASE="$SHARE/../.."
-FOLDER="/usr/local"
 
 # Include basic functions
 . $SHARE/trashman/functions || exit 1
index dfc44232bbe861faed4c496d76f990fd880f9eb8..5921585566f443b855ef11c95f139666dedaddc8 100755 (executable)
@@ -21,7 +21,7 @@ mkdir -p $DESTDIR/src
 
 # Build and install
 git clone https://github.com/void-linux/xbps $DESTDIR/src/xbps         || exit 1
-cd $HOME/.local/src/xbps                                               || exit 1
+cd $DESTDIR/src/xbps                                                   || exit 1
 ./configure --enable-rpath --prefix=$DESTDIR --sysconfdir=$DESTDIR/etc || exit 1
 make -j$(nproc)                                                        || exit 1
 make DESTDIR=$DESTDIR install clean                                    || exit 1