From 0db49dfbf177cd531838ee375226e41ab0f98f68 Mon Sep 17 00:00:00 2001 From: Bryan Roessler Date: Fri, 7 Apr 2023 11:43:02 -0400 Subject: [PATCH] Update manual deploy --- script-install-manual-scripts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/script-install-manual-scripts b/script-install-manual-scripts index 47471784..2a7f445c 100755 --- a/script-install-manual-scripts +++ b/script-install-manual-scripts @@ -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