finally rename icons/ (fixes #272)
This commit is contained in:
parent
e0d91d846d
commit
81745ce738
|
@ -3,7 +3,7 @@
|
||||||
#*
|
#*
|
||||||
.idea/*
|
.idea/*
|
||||||
config.php
|
config.php
|
||||||
icons/*
|
feed-icons/*
|
||||||
cache/*/*
|
cache/*/*
|
||||||
lock/*
|
lock/*
|
||||||
tags
|
tags
|
||||||
|
|
|
@ -26,14 +26,11 @@
|
||||||
// Note that you (or your users) also have to enable image caching
|
// Note that you (or your users) also have to enable image caching
|
||||||
// in feed editor.
|
// in feed editor.
|
||||||
|
|
||||||
define('ICONS_DIR', "icons");
|
define('ICONS_DIR', "feed-icons");
|
||||||
define('ICONS_URL', "icons");
|
define('ICONS_URL', "feed-icons");
|
||||||
// Local and URL path to the directory, where feed favicons are stored.
|
// Local and URL path to the directory, where feed favicons are stored.
|
||||||
// Unless you really know what you're doing, please keep those relative
|
// Unless you really know what you're doing, please keep those relative
|
||||||
// to tt-rss main directory.
|
// to tt-rss main directory.
|
||||||
// Please note that Apache may reserve /icons/ URL to itself so you might
|
|
||||||
// need to change this and rename icons/ directory if you install tt-rss
|
|
||||||
// into website root.
|
|
||||||
|
|
||||||
define('TMP_DIRECTORY', '/tmp');
|
define('TMP_DIRECTORY', '/tmp');
|
||||||
// Directory for temporary files
|
// Directory for temporary files
|
||||||
|
|
|
@ -13,8 +13,8 @@ case "$1" in
|
||||||
|
|
||||||
|
|
||||||
echo "create misc folders"
|
echo "create misc folders"
|
||||||
if [ ! -d /usr/share/tt-rss/www/icons/ ]; then
|
if [ ! -d /usr/share/tt-rss/www/feed-icons/ ]; then
|
||||||
install -d -m775 -gwww-data /usr/share/tt-rss/www/icons
|
install -d -m775 -gwww-data /usr/share/tt-rss/www/feed-icons
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -d /var/lock/tt-rss ]; then
|
if [ ! -d /var/lock/tt-rss ]; then
|
||||||
|
|
|
@ -8,7 +8,7 @@ fi
|
||||||
|
|
||||||
|
|
||||||
if [ "$1" = "purge" ]; then
|
if [ "$1" = "purge" ]; then
|
||||||
rm -rf /usr/share/tt-rss/www/icons
|
rm -rf /usr/share/tt-rss/www/feed-icons
|
||||||
rm -rf /var/lock/tt-rss
|
rm -rf /var/lock/tt-rss
|
||||||
rm -rf /var/cache/tt-rss
|
rm -rf /var/cache/tt-rss
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue