mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 00:01:21 +00:00
Updated fix_files.sh to copy needed files for new scripts
This commit is contained in:
@@ -38,7 +38,6 @@ fi
|
||||
if [[ $EN_IMDB == "true" ]]; then
|
||||
echo "edit movie language"
|
||||
$SED -i -e 's/akas.imdb/www.imdb/g' $NEWZPATH/www/lib/movie.php
|
||||
$SED -i -e 's/akas.imdb/www.imdb/g' $TESTING_PATH/update_parsing.php
|
||||
$SED -i -e 's/curl_setopt($ch, CURLOPT_URL, $url);/curl_setopt($ch, CURLOPT_URL, $url);\
|
||||
$header[] = "Accept-Language: en-us";\
|
||||
curl_setopt($ch, CURLOPT_HTTPHEADER, $header);/' $NEWZPATH/www/lib/util.php
|
||||
@@ -49,6 +48,11 @@ if [[ $KEVIN_SAFER == "true" ]] || [[ $PARSING_MOD == "true" ]]; then
|
||||
cd $DIR"/kevin123"
|
||||
cp -frv * $NEWZPATH/www/lib/
|
||||
fi
|
||||
#copy needed files for hash_decrypt and fixReleaseNames scripts
|
||||
if [[ $HASH == "true"]] || [[ $FIXRELEASES == "true" ]]; then
|
||||
cd $DIR"/test/files to copy/www/lib"
|
||||
cp -frv * $NEWZPATH/www/lib/
|
||||
fi
|
||||
|
||||
#set user/group to www
|
||||
echo "Fixing permisions, this can take some time if you have a large set of releases"
|
||||
|
||||
Reference in New Issue
Block a user