memories/scripts/bundle.sh

21 lines
363 B
Bash
Raw Normal View History

2022-09-08 02:08:20 +00:00
#!/bin/bash
src=`pwd`
2022-09-08 02:08:20 +00:00
rm -rf /tmp/memories
2022-09-13 22:50:17 +00:00
mkdir -p /tmp/memories
cp -R appinfo l10n img js lib templates COPYING README.md CHANGELOG.md exiftest* composer* /tmp/memories
2022-09-08 02:08:20 +00:00
cd /tmp
rm -rf memories.tar.gz
2022-10-20 19:31:12 +00:00
cd memories
sh "$src/scripts/get-bin-ext.sh"
2022-10-20 19:31:12 +00:00
cd ..
2022-11-14 15:44:57 +00:00
tar --no-same-owner -p -zcf memories.tar.gz memories/
2022-09-08 02:08:20 +00:00
rm -rf memories
cd $src
2022-09-08 02:08:20 +00:00
mv /tmp/memories.tar.gz .