mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-06-15 11:01:06 -04:00
fix: copy hidden files from extraction directory
Hidden files like .env were not being copied because shell glob * doesn't match hidden files. Use 'ospos-temp/.' to copy all files.
This commit is contained in:
@@ -142,7 +142,7 @@ fi
|
||||
|
||||
unzip -q ospos.zip -d ospos-temp
|
||||
mkdir -p ${OSPOS_DIR}
|
||||
cp -r ospos-temp/* ${OSPOS_DIR}/
|
||||
cp -r ospos-temp/. ${OSPOS_DIR}/
|
||||
rm -rf ospos-temp ospos.zip
|
||||
|
||||
echo -e "${COLOR_GREEN}Downloaded OSPOS ${OSPOS_VERSION}${COLOR_RESET}"
|
||||
|
||||
Reference in New Issue
Block a user