Commit 207bfcf8 authored by Vivien Alger's avatar Vivien Alger

Modified script for new names

parent 4db8449c
......@@ -45,17 +45,17 @@ function spec_generation
# Post scriplet generation
echo "%post" >> $SLAPOS_SPEC
cat $RE6STNET_SCRIPT >> $SLAPOS_SPEC
cat $RPM_DIRECTORY/post >> $SLAPOS_SPEC
cat $RPM_DIRECTORY/post.sh >> $SLAPOS_SPEC
# Preun scriplet generation
echo "
%preun" >> $SLAPOS_SPEC
cat $RPM_DIRECTORY/preun >> $SLAPOS_SPEC
cat $RPM_DIRECTORY/preun.sh >> $SLAPOS_SPEC
# Postun scriplet generation
echo "
%postun" >> $SLAPOS_SPEC
cat $RPM_DIRECTORY/postun >> $SLAPOS_SPEC
cat $RPM_DIRECTORY/postun.sh >> $SLAPOS_SPEC
echo "
" >> $SLAPOS_SPEC
}
......@@ -123,22 +123,22 @@ if [ ! -d "$CURRENT_DIRECTORY/$SLAPOS_DIRECTORY" ]; then
fi
# Prepare Makefile and offline script
#prepare_template_files
prepare_template_files
# Prepare Download Cache for SlapOS
#prepare_download_cache
prepare_download_cache
# Prepare tarball
#prepare_tarball
prepare_tarball
# Generate spec file
spec_generation
# Prepare deb packaging
#prepare_deb_packaging
prepare_deb_packaging
# Upload to obs
#obs_upload
obs_upload
# Save current version
echo "$RECIPE_VERSION" > $CURRENT_DIRECTORY/slapos-recipe-version
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment