Skip to content

Commit

Permalink
removed this process from mount lto
Browse files Browse the repository at this point in the history
  • Loading branch information
CSchloss385 authored and CSchloss385 committed Jun 1, 2015
1 parent 266af58 commit 482d2e0
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions mountlto
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,6 @@ BLUE="$(tput setaf 4)" # Blue - For Questions
NC="$(tput sgr0)" # No Color

cleanup(){
schemafile="$LTOLOGS/${TAPE_SERIAL}.schema"
if [[ "$schemafile" -nt "$deckfile" ]] ; then
echo "${GREEN}Updating index for ${TAPE_SERIAL}${NC}"
xml sel -t -m ".//file" -m "ancestor-or-self::directory" -v name -o "/" -b -v name -n "$schemafile" > "${schemafile%.*}.txt"
if [[ -n "${FILEMAKER_XML_URL}" ]] ; then
"${SCRIPTDIR}/lto2filemaker" "${schemafile}"
fi
fi
if [ -d "${mountdir}" ] ; then
echo calling umount
umount "${mountdir}"
Expand Down

0 comments on commit 482d2e0

Please sign in to comment.