mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-21 20:56:19 +00:00
25 lines
551 B
Diff
25 lines
551 B
Diff
--- a/install
|
|
+++ b/install
|
|
@@ -12,10 +12,10 @@
|
|
# INSTALLATION CODE (do not touch):
|
|
|
|
BINDIR=$PREFIX/bin
|
|
-LIBDIR=$PREFIX/lib/fte
|
|
+LIBDIR=$PREFIX/share/fte
|
|
CONFIGDIR=$LIBDIR/config
|
|
|
|
-LOCALCONFIGDIR=$LIBDIR/localconfig
|
|
+LOCALCONFIGDIR=$PREFIX/etc/fte/localconfig
|
|
|
|
# To do some of this stuff, you should be root...
|
|
if [ -z "$INSTALL_NONROOT" ]
|
|
@@ -96,7 +96,7 @@
|
|
fi
|
|
|
|
# Set up the system default rc file.
|
|
-(cd $CONFIGDIR; $BINDIR/cfte main.fte $LIBDIR/system.fterc)
|
|
+(cd $CONFIGDIR; cfte main.fte $PREFIX/etc/fte/system.fterc)
|
|
|
|
# Done.
|
|
exit 0
|