From 021002cc089267014f6853310182c74e06d50a62 Mon Sep 17 00:00:00 2001 From: Moul Date: Thu, 11 Feb 2016 17:24:24 +0100 Subject: [PATCH] Add header on python script to permit launch it with './'. --- README.md | 2 +- add_or_update.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index deebadef..c95421fc 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ your app from one of the 2 json files. Usage: ```bash -python ./add_or_update.py [community.json OR official.json] [github url [github url [github url ...]]] +./add_or_update.py [community.json OR official.json] [github url [github url [github url ...]]] ``` #### More information on [yunohost.org/packaging_apps](https://yunohost.org/packaging_apps) diff --git a/add_or_update.py b/add_or_update.py index 603e410b..63e3d112 100755 --- a/add_or_update.py +++ b/add_or_update.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python2 + import os import sys import json