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