Update manual deploy
This commit is contained in:
@@ -23,17 +23,19 @@ for script in script-*; do
|
||||
done
|
||||
|
||||
# Install manual link
|
||||
remove=("manual.pdf" "manual.odt" "Notes.pdf" "Notes.odt" "README.html" "manual-images" "manual.html" "manual-images")
|
||||
remove=("manual.pdf" "manual.odt" "Notes.pdf" "Notes.odt"
|
||||
"README.html" "Link to Manual.desktop" "manual-images"
|
||||
"manual.html" "manual-images" "Manual.desktop" "manual.desktop")
|
||||
for homedir in /home/*; do
|
||||
desktop="$homedir/Desktop"
|
||||
[[ -d $desktop ]] || continue
|
||||
for f in "${remove[@]}"; do
|
||||
[[ -f $desktop/$f ]] && rm -rf "${desktop:?}/$f"
|
||||
done
|
||||
cat <<-EOF > "$desktop/Link to Manual.desktop"
|
||||
cat <<-EOF > "$desktop/manual.desktop"
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Name=Link to Hartman Lab Server Manual
|
||||
Name=Hartman Lab Server Manual
|
||||
Type=Link
|
||||
URL=https://docs.google.com/document/d/1K_KwAlv8Zljmy-enwmhT6gMTFutlAFglixvpLGBx0VY
|
||||
Icon=text-html
|
||||
|
||||
Reference in New Issue
Block a user