mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
[deb] Remove sources files from install in Debian package (bugfix #235)
This commit is contained in:
parent
a2588a94f0
commit
29c3e2826a
2 changed files with 4 additions and 5 deletions
4
debian/install
vendored
Normal file
4
debian/install
vendored
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
src/dist usr/share/yunohost/admin
|
||||||
|
src/locales usr/share/yunohost/admin
|
||||||
|
src/views usr/share/yunohost/admin
|
||||||
|
src/index.html usr/share/yunohost/admin
|
5
debian/rules
vendored
5
debian/rules
vendored
|
@ -18,8 +18,3 @@ override_dh_auto_install:
|
||||||
# Replace VERSION with current package version to prevent web browser
|
# Replace VERSION with current package version to prevent web browser
|
||||||
# to serve old css/js files
|
# to serve old css/js files
|
||||||
sed -i 's/VERSION/$(DEBVERS)/g' src/index.html
|
sed -i 's/VERSION/$(DEBVERS)/g' src/index.html
|
||||||
|
|
||||||
# Install source files and set permissions
|
|
||||||
mkdir -p $(TMPDIR)/usr/share/yunohost
|
|
||||||
cp -r src $(TMPDIR)/usr/share/yunohost/admin
|
|
||||||
chown -R www-data $(TMPDIR)/usr/share/yunohost/admin
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue