View Issue Details

IDProjectCategoryView StatusLast Update
0001292bareos-coredocumentationpublic2023-08-22 15:31
ReporterInt Assigned Tobruno-at-bareos  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionunable to reproduce 
Product Version20.0.0 
Summary0001292: Some parts of example scripts can not be marked and copied from the web page
DescriptionIt seems that you upgraded your documentation web page so that the command prompt in command examples can not be copied anymore.
This is fine for the command examples, but destroys the usability of example scripts like this one:

https://docs.bareos.org/bareos-20/IntroductionAndTutorial/InstallingBareos.html#install-on-freebsd-based-distributions

There all '#' characters and the URL path can not be marked anymore and are therefore left out when trying to copy the example.
TagsNo tags attached.

Activities

bruno-at-bareos

bruno-at-bareos

2023-08-22 15:31

manager   ~0005334

Actually copy/pasting of the example work as expected.

#!/bin/sh

# See https://download.bareos.org/bareos/release/
# for applicable releases and distributions

DIST=FreeBSD_12.2
# or
# DIST=FreeBSD_12.1
# DIST=FreeBSD_11.4

RELEASE=release/20
# or
# RELEASE=experimental/nightly

URL=https://download.bareos.org/bareos/$RELEASE/$DIST

# add the Bareos repository
cd /usr/local/etc/pkg/repos
wget -q $URL/bareos.conf

# install Bareos packages
pkg install --yes bareos.com-director bareos.com-storage bareos.com-filedaemon bareos.com-database-postgresql bareos.com-bconsole

# setup the Bareos database
su postgres -c /usr/lib/bareos/scripts/create_bareos_database
su postgres -c /usr/lib/bareos/scripts/make_bareos_tables
su postgres -c /usr/lib/bareos/scripts/grant_bareos_privileges

# enable services
sysrc bareosdir_enable=YES
sysrc bareossd_enable=YES
sysrc bareosfd_enable=YES

# start services
service bareos-dir start
service bareos-sd start
service bareos-fd start

Issue History

Date Modified Username Field Change
2020-12-17 13:53 Int New Issue
2023-08-22 15:31 bruno-at-bareos Assigned To => bruno-at-bareos
2023-08-22 15:31 bruno-at-bareos Status new => closed
2023-08-22 15:31 bruno-at-bareos Resolution open => unable to reproduce
2023-08-22 15:31 bruno-at-bareos Note Added: 0005334