From 6ab0440eb05b63f11b44e8efc427c5028eac4f8a Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Thu, 17 Nov 2016 23:23:15 +0200 Subject: [PATCH] Add shebangs and make files executable --- Adafruit_Video_Looper/__init__.py | 0 Adafruit_Video_Looper/directory.py | 1 + Adafruit_Video_Looper/hello_video.py | 1 + Adafruit_Video_Looper/model.py | 1 + Adafruit_Video_Looper/omxplayer.py | 1 + Adafruit_Video_Looper/usb_drive.py | 1 + Adafruit_Video_Looper/usb_drive_mounter.py | 1 + Adafruit_Video_Looper/video_looper.py | 1 + remount_rw_usbkey.sh | 2 ++ setup.py | 2 ++ 10 files changed, 11 insertions(+) mode change 100644 => 100755 Adafruit_Video_Looper/__init__.py mode change 100644 => 100755 Adafruit_Video_Looper/directory.py mode change 100644 => 100755 Adafruit_Video_Looper/hello_video.py mode change 100644 => 100755 Adafruit_Video_Looper/model.py mode change 100644 => 100755 Adafruit_Video_Looper/omxplayer.py mode change 100644 => 100755 Adafruit_Video_Looper/usb_drive.py mode change 100644 => 100755 Adafruit_Video_Looper/usb_drive_mounter.py mode change 100644 => 100755 Adafruit_Video_Looper/video_looper.py mode change 100644 => 100755 setup.py diff --git a/Adafruit_Video_Looper/__init__.py b/Adafruit_Video_Looper/__init__.py old mode 100644 new mode 100755 diff --git a/Adafruit_Video_Looper/directory.py b/Adafruit_Video_Looper/directory.py old mode 100644 new mode 100755 index eaca2dd..7e054db --- a/Adafruit_Video_Looper/directory.py +++ b/Adafruit_Video_Looper/directory.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python # Copyright 2015 Adafruit Industries. # Author: Tony DiCola # License: GNU GPLv2, see LICENSE.txt diff --git a/Adafruit_Video_Looper/hello_video.py b/Adafruit_Video_Looper/hello_video.py old mode 100644 new mode 100755 index de1cd3f..a374b66 --- a/Adafruit_Video_Looper/hello_video.py +++ b/Adafruit_Video_Looper/hello_video.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python # Copyright 2015 Adafruit Industries. # Author: Tony DiCola # License: GNU GPLv2, see LICENSE.txt diff --git a/Adafruit_Video_Looper/model.py b/Adafruit_Video_Looper/model.py old mode 100644 new mode 100755 index 9e93b48..f51eae1 --- a/Adafruit_Video_Looper/model.py +++ b/Adafruit_Video_Looper/model.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python # Copyright 2015 Adafruit Industries. # Author: Tony DiCola # License: GNU GPLv2, see LICENSE.txt diff --git a/Adafruit_Video_Looper/omxplayer.py b/Adafruit_Video_Looper/omxplayer.py old mode 100644 new mode 100755 index 83ea9a5..0c2f380 --- a/Adafruit_Video_Looper/omxplayer.py +++ b/Adafruit_Video_Looper/omxplayer.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python # Copyright 2015 Adafruit Industries. # Author: Tony DiCola # License: GNU GPLv2, see LICENSE.txt diff --git a/Adafruit_Video_Looper/usb_drive.py b/Adafruit_Video_Looper/usb_drive.py old mode 100644 new mode 100755 index 64bb2a4..d2fca0f --- a/Adafruit_Video_Looper/usb_drive.py +++ b/Adafruit_Video_Looper/usb_drive.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python # Copyright 2015 Adafruit Industries. # Author: Tony DiCola # License: GNU GPLv2, see LICENSE.txt diff --git a/Adafruit_Video_Looper/usb_drive_mounter.py b/Adafruit_Video_Looper/usb_drive_mounter.py old mode 100644 new mode 100755 index 4ebfb8c..585e886 --- a/Adafruit_Video_Looper/usb_drive_mounter.py +++ b/Adafruit_Video_Looper/usb_drive_mounter.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python # Copyright 2015 Adafruit Industries. # Author: Tony DiCola # License: GNU GPLv2, see LICENSE.txt diff --git a/Adafruit_Video_Looper/video_looper.py b/Adafruit_Video_Looper/video_looper.py old mode 100644 new mode 100755 index 6a40741..85c5f02 --- a/Adafruit_Video_Looper/video_looper.py +++ b/Adafruit_Video_Looper/video_looper.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python # Copyright 2015 Adafruit Industries. # Author: Tony DiCola # License: GNU GPLv2, see LICENSE.txt diff --git a/remount_rw_usbkey.sh b/remount_rw_usbkey.sh index ca680a1..310236a 100755 --- a/remount_rw_usbkey.sh +++ b/remount_rw_usbkey.sh @@ -1 +1,3 @@ +#!/bin/sh + sudo mount -o remount ,rw /mnt/usbdrive0 diff --git a/setup.py b/setup.py old mode 100644 new mode 100755 index a2fbaf2..574709a --- a/setup.py +++ b/setup.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python + from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages