snippets: fix ifelse

Signed-off-by: Yvan Volochine <yvan.volochine@gmail.com>
snippets: correct filenames

Signed-off-by: Yvan Volochine <yvan.volochine@gmail.com>
snippets: remove trailing whitespaces

Signed-off-by: Yvan Volochine <yvan.volochine@gmail.com>
Merge pull request #96 from gusano/topic/snippets_fix

Topic/snippets fix