Unverified Commit e851a532 authored by David Beniamine's avatar David Beniamine
Browse files

Fix bad path in post install

Fix #24
parent 5b9d84af
......@@ -16,8 +16,6 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
DIR=$(realpath $(dirname $0))
cd /opt
if [ "$(dpkg -l | grep git)" ]
......@@ -40,6 +38,8 @@ else
git pull origin master
fi
DIR=$PWD
cp -v $DIR/*/service/*.service /etc/systemd/system/
dpkg -i cups/deb/*.deb
......
......@@ -16,8 +16,6 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
DIR=$(dirname $0)
cd /var/www
if [ "$(dpkg -l | grep git)" ]
......
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