mirror of
https://github.com/captainark/github2email.git
synced 2024-11-22 08:31:43 +01:00
small fixes
This commit is contained in:
parent
0e2541de76
commit
749912641f
@ -49,10 +49,10 @@ done
|
|||||||
AddedProjects="$(r2e list | grep g2e_ | grep -Eo "https://github.com/.*/releases.atom")"
|
AddedProjects="$(r2e list | grep g2e_ | grep -Eo "https://github.com/.*/releases.atom")"
|
||||||
for Projects in ${AddedProjects}; do
|
for Projects in ${AddedProjects}; do
|
||||||
StillStaredProject="$(grep ${Projects} ${TempFile})"
|
StillStaredProject="$(grep ${Projects} ${TempFile})"
|
||||||
if [[ -z $StillStaredProject ]]; then
|
if [[ -z ${StillStaredProject} ]]; then
|
||||||
ProjectToRemove=${StillStaredProject%,*}
|
ProjectToRemove=${StillStaredProject%,*}
|
||||||
r2e delete ${ProjectToRemove}
|
r2e delete ${ProjectToRemove}
|
||||||
echo "Project ${ProjectName} has been removed from rss2email configuration !"
|
echo "Project ${ProjectToRemove} has been removed from rss2email configuration !"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user