Skip to content
Snippets Groups Projects
Commit 5318f249 authored by OSAK Buildhauer's avatar OSAK Buildhauer
Browse files

fixed linuxparty.sh documentation location

parent f23c0400
No related branches found
No related tags found
No related merge requests found
......@@ -397,10 +397,14 @@ create_doc()
fi
popd
USER_HOME=$(getent passwd "${SUDO_USER:-$USER}" | cut -d ':' -f6)
cp "${WORKING_DIR}/DOCUMENTATION.gen.pdf" "${USER_HOME}/Deine-LIP-Dokumentation.pdf"
#USER_HOME=$(getent passwd "${SUDO_USER:-$USER}" | cut -d ':' -f6)
#cp "${WORKING_DIR}/DOCUMENTATION.gen.pdf" "${USER_HOME}/Deine-LIP-Dokumentation.pdf"
# jetzt wird hoffentlich an alle relevanten Stellen kopiert
for i in /home/*/; do
cp "${WORKING_DIR}/DOCUMENTATION.gen.pdf" "$i""/Deine-LIP-Dokumentation.pdf"
done
RC=$?
pressenter "Eine Dokumentation der von dir installierten Paktete wurde in deinem Benutzerverzeichnis ($HOME) als 'Deine-LIP-Dokumentation.pdf' abegelegt."
pressenter "Eine Dokumentation der von dir installierten Paktete wurde in deinem Benutzerverzeichnis als 'Deine-LIP-Dokumentation.pdf' abegelegt."
return $RC
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment