finally rename icons/ (fixes #272)

master
Andrew Dolgov 13 years ago
parent e0d91d846d
commit 81745ce738

2
.gitignore vendored

@ -3,7 +3,7 @@
#*
.idea/*
config.php
icons/*
feed-icons/*
cache/*/*
lock/*
tags

@ -26,14 +26,11 @@
// Note that you (or your users) also have to enable image caching
// in feed editor.
define('ICONS_DIR', "icons");
define('ICONS_URL', "icons");
define('ICONS_DIR', "feed-icons");
define('ICONS_URL', "feed-icons");
// Local and URL path to the directory, where feed favicons are stored.
// Unless you really know what you're doing, please keep those relative
// 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');
// Directory for temporary files

@ -13,8 +13,8 @@ case "$1" in
echo "create misc folders"
if [ ! -d /usr/share/tt-rss/www/icons/ ]; then
install -d -m775 -gwww-data /usr/share/tt-rss/www/icons
if [ ! -d /usr/share/tt-rss/www/feed-icons/ ]; then
install -d -m775 -gwww-data /usr/share/tt-rss/www/feed-icons
fi
if [ ! -d /var/lock/tt-rss ]; then

@ -8,7 +8,7 @@ fi
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/cache/tt-rss
fi

Loading…
Cancel
Save