Skip to content

Commit

Permalink
Bump to 1.7.2, and remove 10.1-RELEASE as upstream has replaced it wi…
Browse files Browse the repository at this point in the history
…th 10.2-RELEASE. Also commented a couple things.
  • Loading branch information
Brandon Schneider committed Aug 14, 2015
1 parent 603733a commit 7f49567
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion iocage
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ unset LANG
PATH=${PATH}:/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin

if [ "${1}" = "--version" -o "${1}" = "version" ] ; then
echo "iocage 1.7.1 (2015/08/04)"
echo "iocage 1.7.2 (2015/08/04)"
exit 0
fi

Expand Down Expand Up @@ -90,6 +90,7 @@ if [ ! __readonly_cmd $1 -a "$(whoami)" != "root" ] ; then
exit 1
fi

# Did not work when included as an OR below, workaround for that
if [ "$1" == "deactivate" ] ; then
shift
__deactivate "$1"
Expand Down
1 change: 0 additions & 1 deletion lib/ioc-info
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# Print supported releases----------------------------------
__print_release () {
supported="10.2-RELEASE
10.1-RELEASE
9.3-RELEASE"

echo "Supported releases are: "
Expand Down
2 changes: 2 additions & 0 deletions lib/ioc-zfs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ __deactivate () {
__clean () {
local _answer

# Look for the right switch and then ask the user if they are sure
case "$1" in
-a)
echo " "
Expand Down Expand Up @@ -393,6 +394,7 @@ __check_filesystems () {
${iocroot}/download
${iocroot}/releases"

# Loop through and make sure the filesystems exist. Make sure you are root
for _fs in $(echo ${_filesystems}) ; do
zfs get -H creation ${pool}${_fs} > /dev/null 2>&1
if [ $? -ne 0 ] ; then
Expand Down

0 comments on commit 7f49567

Please sign in to comment.