mirror of
https://github.com/rworkman/slackpkg
synced 2024-12-25 21:58:42 +01:00
core-functions.sh: Create $WORKDIR before using it
This should never be an issue on a properly installed system (assuming slackpkg is installed on the system), but it doesn't hurt anything either to be safe.
This commit is contained in:
parent
4a1885d6aa
commit
dfb299531d
1 changed files with 3 additions and 0 deletions
|
@ -58,6 +58,9 @@ spinning() {
|
|||
#
|
||||
function system_setup() {
|
||||
|
||||
# Create $WORKDIR just in case
|
||||
mkdir -p "$WORKDIR"
|
||||
|
||||
# Set LOCAL if mirror isn't through network
|
||||
# If mirror is through network, select the command to fetch
|
||||
# files and packages from there.
|
||||
|
|
Loading…
Reference in a new issue