ipkg_decompress_package
if [ -f ${PACKAGE_DEF} ]; then
- echo "Load custom package functions and definitions"
+ echo "Load custom package functions and definitions from ${PACKAGE_DEF}"
source ${PACKAGE_DEF}
fi
#!/bin/bash
-LYNX_CFG_PATH=/etc/lynx.cfg
+LYNX_CFG_PATH=/etc/lynx/lynx.cfg
hvconfig_pre()
{
# --sysconfdir=/etc/lynx \
CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
+ --prefix=/usr \
+ --sysconfdir=/etc/lynx \
--datadir=/usr/share/doc/lynx \
--with-zlib \
--with-bzlib \
# The built-in editor in Lynx Breaks Multibyte Characters. Configure Lynx
# to use an external editor (bound to the “Ctrl+X e” key combination by
# default):
- sed -i 's/#\(DEFAULT_EDITOR\):/\1:vi/' ${LYNX_CFG_PATH}
+ sed -i 's/#\(DEFAULT_EDITOR\):/\1:nano/' ${LYNX_CFG_PATH}
# By default, Lynx doesn't save cookies between sessions. Change this:
sed -i 's/#\(PERSISTENT_COOKIES\):FALSE/\1:TRUE/' ${LYNX_CFG_PATH}
+
+ # Set proper homepage
+ sed -i 's!^\(STARTFILE\):.*!\1:http://www.google.com/!' ${LYNX_CFG_PATH}
+ sed -i 's!^\(DEFAULT_INDEX_FILE\):.*!\1:http://www.google.com/!' \
+ ${LYNX_CFG_PATH}
+
+ # Set download directory
+ sed -i 's!#\(SAVE_SPACE\):.*!\1:~/Downloads/!' ${LYNX_CFG_PATH}
+
+
+
}