Make it easier to update the PyCIRCLean install inside an image.

pull/37/head
Eleanor Saitta 2015-10-09 15:22:20 -04:00
parent ce6ee4ad85
commit 6b6d7df247
2 changed files with 6 additions and 2 deletions

View File

@ -22,6 +22,7 @@ if [ -z "$1" ]; then
exit exit
fi fi
COMMAND=${1} COMMAND=${1}
COMMAND_OPT=${2}
set -e set -e
set -x set -x
@ -99,5 +100,4 @@ mv ${CHROOT_PATH}/etc/ld.so.preload ${CHROOT_PATH}/etc/ld.so.preload_bkp
# To make debugging easier # To make debugging easier
echo "KittenGroomer: Image mounted, executing command from mount_image.sh" 1>&2 echo "KittenGroomer: Image mounted, executing command from mount_image.sh" 1>&2
${COMMAND} ${CHROOT_PATH} ${COMMAND_OPT}
${COMMAND} ${CHROOT_PATH}

4
update_PyCIRCLean.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
# Change to your repo if doing python dev
./mount_image.sh chroot "pip install git+https://github.com/Dymaxion00/PyCIRCLean@dev"