Skip to content

Commit

Permalink
Adjust naming of "data dir" to "data directory" to be consistent (#869)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanarri authored and nachoparker committed Apr 1, 2019
1 parent e7ae08c commit 6264d03
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/ncp/CONFIG/nc-datadir.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ configure()
cd /var/www/nextcloud
sudo -u www-data php occ maintenance:mode --on

echo "moving data dir from $SRCDIR to $DATADIR..."
echo "moving data directory from $SRCDIR to $DATADIR..."

# use subvolumes, if BTRFS
[[ "$( stat -fc%T "$BASEDIR" )" == "btrfs" ]] && {
Expand Down
2 changes: 1 addition & 1 deletion bin/ncp/TOOLS/nc-fix-permissions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ configure()
{
local DATADIR
DATADIR=$( cd /var/www/nextcloud; sudo -u www-data php occ config:system:get datadirectory ) || {
echo "data dir not found";
echo "data directory not found";
return 1;
}
echo -ne "fixing permissions in $DATADIR... "
Expand Down
2 changes: 1 addition & 1 deletion bin/ncp/TOOLS/nc-previews.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ configure()
[[ "$CLEAN" == "yes" ]] && {
local datadir
datadir=$( ncc config:system:get datadirectory ) || {
echo "data dir not found";
echo "data directory not found";
return 1;
}

Expand Down

0 comments on commit 6264d03

Please sign in to comment.