Oreon-Lime-R2/anaconda/anaconda-34.25.5.0/data/post-scripts/90-copy-screenshots.ks

15 lines
349 B
Text
Raw Normal View History

%post --nochroot
echo "Copying screenshots from installation..."
if [ ! -d /tmp/anaconda-screenshots ]; then
echo "No screenshots found."
exit 0
fi
mkdir -m 0750 -p $ANA_INSTALL_PATH/root/anaconda-screenshots
cp -a /tmp/anaconda-screenshots/*.png $ANA_INSTALL_PATH/root/anaconda-screenshots/
echo "Screenshots copied successfully."
%end