1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/freshrss_ynh.git synced 2024-09-03 18:36:33 +02:00

remove useless elements

This commit is contained in:
Clément 2018-07-07 16:11:37 +02:00
parent 4dc666e63b
commit c74b07f382
3 changed files with 0 additions and 41 deletions

View file

@ -1,13 +0,0 @@
Section: misc
Priority: optional
Homepage: https://github.com/FreshRSS/FreshRSS
Standards-Version: 3.9.2
Package: freshrss-deps
Version: 1.11.0
Depends: php5-cli, php5-gmp
Architecture: all
Description: meta package for freshrss dependencies
FreshRSS is a self-hosted RSS feed aggregator such as Leed or Kriss Feed.
.
This meta-package is only responsible of installing its dependencies.

View file

@ -13,9 +13,6 @@ FRESHRSS_SOURCE_URL="https://github.com/FreshRSS/FreshRSS/archive/1.11.1.tar.gz"
PKGDIR=$(cd ../; pwd)
#apt dependencies
DEPS_PKG_NAME="freshrss-deps"
#
# Common helpers
#

View file

@ -1,25 +0,0 @@
<?php
echo "including libs \n";
require('constants.php');
require(LIB_PATH . '/lib_rss.php');
if (FRESHRSS_VERSION === '0.8.1'){
require('app/Models/Configuration.php');
require('app/Models/Entry.php');
}
echo "downloading update script \n";
$ch = curl_init(FRESHRSS_UPDATE_WEBSITE);
$fp = fopen("update.php", "w");
curl_setopt($ch, CURLOPT_FILE, $fp);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_exec($ch);
curl_close($ch);
fclose($fp);
echo "checking if update needed \n";
if (!strstr(file_get_contents('update.php'), 'NO_UPDATE')){
echo "launching update \n";
require('update.php');
apply_update();
}
?>